paint.cpp: In function 'void f(ll, ll, ll)':
paint.cpp:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
11 | if(a[x][y]==a[x-1][y]&&c[x-1][y]==0)
| ^~
paint.cpp:13:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
13 | if(a[x][y]==a[x][y+1]&&c[x][y+1]==0)
| ^~
paint.cpp: In function 'int main()':
paint.cpp:22:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | scanf("%lld %lld",&n,&m);
| ~~~~~^~~~~~~~~~~~~~~~~~~
paint.cpp:41:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
41 | scanf("%lld",&a[i][j]);
| ~~~~~^~~~~~~~~~~~~~~~~
paint.cpp:44:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
44 | scanf("%lld",&e);
| ~~~~~^~~~~~~~~~~
paint.cpp:47:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
47 | scanf("%lld %lld %lld",&x,&y,&z);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~