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:44:15: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'll*' {aka 'int*'} [-Wformat=]
44 | scanf("%lld",&e);
| ~~~^ ~~
| | |
| | ll* {aka int*}
| long long int*
| %d
paint.cpp:22:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | scanf("%d %d",&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("%d",&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("%d %d %d",&x,&y,&z);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~