grader.c: In function 'int main()':
grader.c:15:6: warning: variable 'res' set but not used [-Wunused-but-set-variable]
int res;
^~~
wombats.cpp:21:11: error: redefinition of 'const int B'
const int B=20, SZ=1<<8;
^
wombats.cpp:18:11: note: 'const int B' previously defined here
const int B=20, SZ=1<<8;
^
wombats.cpp:21:17: error: redefinition of 'const int SZ'
const int B=20, SZ=1<<8;
^~
wombats.cpp:18:17: note: 'const int SZ' previously defined here
const int B=20, SZ=1<<8;
^~
wombats.cpp:22:5: error: redefinition of 'int N'
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^
wombats.cpp:19:5: note: 'int N' previously declared here
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^
wombats.cpp:22:8: error: redefinition of 'int M'
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^
wombats.cpp:19:8: note: 'int M' previously declared here
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^
wombats.cpp:22:22: error: redefinition of 'int H [5000][200]'
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^
wombats.cpp:19:11: note: 'int H [5000][200]' previously declared here
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^
wombats.cpp:22:37: error: redefinition of 'int PS [5000][200]'
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^
wombats.cpp:19:25: note: 'int PS [5000][200]' previously declared here
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^~
wombats.cpp:22:51: error: redefinition of 'int V [5000][200]'
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^
wombats.cpp:19:40: note: 'int V [5000][200]' previously declared here
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^
wombats.cpp:22:73: error: redefinition of 'int tree [512][200][200]'
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^
wombats.cpp:19:54: note: 'int tree [512][200][200]' previously declared here
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^~~~
wombats.cpp:22:81: error: redefinition of 'int md [256]'
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^
wombats.cpp:19:76: note: 'int md [256]' previously declared here
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^~
wombats.cpp:22:89: error: redefinition of 'int D [200]'
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^
wombats.cpp:19:84: note: 'int D [200]' previously declared here
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^
wombats.cpp:22:98: error: redefinition of 'int D2 [200]'
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^
wombats.cpp:19:92: note: 'int D2 [200]' previously declared here
int N, M, H[5000][200], PS[5000][200], V[5000][200], tree[2*SZ][200][200], md[SZ], D[200], D2[200];
^~