/in/foo.cc: In function 'void print(int)':
/in/foo.cc:7:22: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
#define For(i, a, b) for(int i=a; i<=b; i++)
^
/in/foo.cc:58:2: note: in expansion of macro 'For'
For(i, 0, 9) printf("%d ", ji[i]); printf("->%d", a);
^~~
/in/foo.cc:58:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
For(i, 0, 9) printf("%d ", ji[i]); printf("->%d", a);
^~~~~~
/in/foo.cc:7:22: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
#define For(i, a, b) for(int i=a; i<=b; i++)
^
/in/foo.cc:60:2: note: in expansion of macro 'For'
For(i, 0, 9) printf("%d ", ou[i]); printf("->%d", b);
^~~
/in/foo.cc:60:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
For(i, 0, 9) printf("%d ", ou[i]); printf("->%d", b);
^~~~~~
/in/foo.cc: In function 'void solve2()':
/in/foo.cc:68:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
if(a > b)
^
/in/foo.cc: In function 'bool work(int)':
/in/foo.cc:54:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^