foo.cc: In function 'int main()':
foo.cc:19:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
19 | if(a1>=1&&a1<=9)
| ^~
foo.cc:20:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
20 | s2=10;s1=a1;
| ^~
foo.cc:21:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
21 | if(a1>=10&&a1<=99)
| ^~
foo.cc:22:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
22 | s2=100;s1=a1;
| ^~
foo.cc:23:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
23 | if(a1>=100&&a1<=999)
| ^~
foo.cc:24:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
24 | s2=1000;s1=a1;
| ^~
foo.cc:25:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
25 | if(a1>=1000&&a1<=9999)
| ^~
foo.cc:26:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
26 | s2=10000;s1=a1;
| ^~
foo.cc:27:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
27 | if(a1>=10000&&a1<=99999)
| ^~
foo.cc:28:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
28 | s2=100000;s1=a1;
| ^~
foo.cc:29:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
29 | if(a1>=100000&&a1<=999999)
| ^~
foo.cc:30:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
30 | s2=1000000;s1=a1;
| ^~
foo.cc:7:15: warning: unused variable 'a2' [-Wunused-variable]
7 | int s1,s2,a1,a2,ww,ee;
| ^~
[Hydro](https://hydro.ac)提供评测服务