/in/foo.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc:7:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc:9:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc:11:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc:13:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc:51:12: error: variable or field 'setIO' declared void
void setIO(string name)
^~~~~~
/in/foo.cc:51:12: error: 'string' was not declared in this scope
/in/foo.cc: In function 'int main()':
/in/foo.cc:73:15: error: 'scanf' was not declared in this scope
scanf("%d", &N);
^
/in/foo.cc:83:14: error: 'printf' was not declared in this scope
printf("-1\n");
^
/in/foo.cc:37:39: error: 'memset' was not declared in this scope
#define fill(a,b) memset(a,b,sizeof(a))
^
/in/foo.cc:91:1: note: in expansion of macro 'fill'
fill(v,0),fill(used,0);
^~~~
/in/foo.cc:123:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
For(i,1,r1) For(j,1,r2) if (sA[i] == sB[j]) {
^
/in/foo.cc:25:39: note: in definition of macro 'For'
#define For(i,a,b) for (int i = a;i = b;--i)
^
/in/foo.cc:123:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
For(i,1,r1) For(j,1,r2) if (sA[i] == sB[j]) {
^
/in/foo.cc:25:39: note: in definition of macro 'For'
#define For(i,a,b) for (int i = a;i = b;--i)
^
/in/foo.cc:129:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
For(i,1,shl(1,N)-1) {
^
/in/foo.cc:25:39: note: in definition of macro 'For'
#define For(i,a,b) for (int i = a;i = b;--i)
^
/in/foo.cc:137:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
For(i,1,shl(1,M)-1) {
^
/in/foo.cc:25:39: note: in definition of macro 'For'
#define For(i,a,b) for (int i = a;i = b;--i)
^
/in/foo.cc:145:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
For(i,1,shl(1,N)-1) For(j,1,shl(1,M)-1) dp[i][j] = 1000000;
^
/in/foo.cc:25:39: note: in definition of macro 'For'
#define For(i,a,b) for (int i = a;i = b;--i)
^
/in/foo.cc:145:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
For(i,1,shl(1,N)-1) For(j,1,shl(1,M)-1) dp[i][j] = 1000000;
^
/in/foo.cc:25:39: note: in definition of macro 'For'
#define For(i,a,b) for (int i = a;i = b;--i)
^
/in/foo.cc:147:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
For(i,1,shl(1,N)-1) For(j,1,shl(1,M)-1) if (sumA[i] == sumB[j])
^
/in/foo.cc:25:39: note: in definition of macro 'For'
#define For(i,a,b) for (int i = a;i = b;--i)
^
/in/foo.cc:147:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
For(i,1,shl(1,N)-1) For(j,1,shl(1,M)-1) if (sumA[i] == sumB[j])
^
/in/foo.cc:25:39: note: in definition of macro 'For'
#define For(i,a,b) for (int i = a;i = b;--i)
^
/in/foo.cc:153:42: error: 'printf' was not declared in this scope
printf("%d\n", dp[shl(1,N)-1][shl(1,M)-1]);
^