bob.cpp: In function 'void solve()':
bob.cpp:31:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
31 | if(a[i][j] != a[i - 1][j]) f[j] = 0; ++f[j];
| ^~
bob.cpp:31:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
31 | if(a[i][j] != a[i - 1][j]) f[j] = 0; ++f[j];
| ^~
bob.cpp: In function 'int main()':
bob.cpp:3:56: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
3 | #define file(task) if(fopen(task".inp", "r")) { freopen(task".inp", "r", stdin); freopen(task".out", "w", stdout); }
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
bob.cpp:54:5: note: in expansion of macro 'file'
54 | file("LAND");
| ^~~~
bob.cpp:3:89: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
3 | #define file(task) if(fopen(task".inp", "r")) { freopen(task".inp", "r", stdin); freopen(task".out", "w", stdout); }
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
bob.cpp:54:5: note: in expansion of macro 'file'
54 | file("LAND");
| ^~~~