foo.cc: In function 'void f(int, int, int, int)':
foo.cc:19:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
19 | if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){//�Ƿ�Ϊ���Ŀ��Ƶ�
| ~~~~^~~~~~
foo.cc:19:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
19 | if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){//�Ƿ�Ϊ���Ŀ��Ƶ�
| ~~~~~~^~~~~~~~
foo.cc:19:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
19 | if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){//�Ƿ�Ϊ���Ŀ��Ƶ�
| ~~~~~~^~~~~~~~
foo.cc:19:77: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
19 | if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){//�Ƿ�Ϊ���Ŀ��Ƶ�
| ~~~~~~^~~~~~~~
foo.cc:19:93: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
19 | if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){//�Ƿ�Ϊ���Ŀ��Ƶ�
| ~~~~~~^~~~~~~~
foo.cc:19:109: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
19 | if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){//�Ƿ�Ϊ���Ŀ��Ƶ�
| ~~~~~~^~~~~~~~
foo.cc:19:125: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
19 | if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){//�Ƿ�Ϊ���Ŀ��Ƶ�
| ~~~~~~^~~~~~~~
foo.cc:19:141: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
19 | if(x==c&&y==b||x==c-1&&y==b-2||x==c+1&&y==b-2||x==c-2&&y==b-1||x==c+2&&y==b-1||x==c-2&&y==b+1||x==c+2&&y==b+1||x==c-1&&y==b+2||x==c+1&&y==b+2){//�Ƿ�Ϊ���Ŀ��Ƶ�
| ~~~~~~^~~~~~~~
foo.cc: In function 'int main()':
foo.cc:43:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
43 | for(int i=0;i<n+1;i++)
| ^~~
foo.cc:47:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
47 | a[1][1]=2;
| ^
[Hydro](https://hydro.ac)提供评测服务