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]!=t)
| ^~
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]!=t)
| ^~
paint.cpp: In function 'int main()':
paint.cpp:43:15: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'll*' {aka 'int*'} [-Wformat=]
43 | scanf("%lld",&e);
| ~~~^ ~~
| | |
| | ll* {aka int*}
| long long int*
| %d
paint.cpp:21:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | scanf("%d %d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~~
paint.cpp:40:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
40 | scanf("%d",&a[i][j]);
| ~~~~~^~~~~~~~~~~~~~~
paint.cpp:43:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
43 | scanf("%lld",&e);
| ~~~~~^~~~~~~~~~~
paint.cpp:46:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
46 | scanf("%d %d %d",&x,&y,&z);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~