foo.c: In function 'main':
foo.c:7:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
7 | while(x%2==0)
| ^~~~~
foo.c:9:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
9 | cnt++;
| ^~~
foo.c:10:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
10 | while(x%2!=0)
| ^~~~~
foo.c:12:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
12 | cnt++;
| ^~~
[Hydro](https://hydro.ac)提供评测服务