/in/foo.cc: In function 'void changeDP(std::vector<int>&, int)':
/in/foo.cc:29:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,a,b) for(int i = (a);i < (b);i++)
^
/in/foo.cc:46:2: note: in expansion of macro 'rep'
rep(i, 0, vec.size())
^~~
/in/foo.cc:42:22: warning: unused variable 'pos' [-Wunused-variable]
int maxdp[150] = {},pos = 0;
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:50:15: warning: unused variable 'i' [-Wunused-variable]
int N, M, T, i, j, K;
^
/in/foo.cc:50:18: warning: unused variable 'j' [-Wunused-variable]
int N, M, T, i, j, K;
^