foo.cc: In function 'int main()':
foo.cc:41:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
41 | for(int i=1;i<=m;i++)
| ^~~
foo.cc:43:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
43 | if(a>b)
| ^~
foo.cc: At global scope:
foo.cc:48:5: error: expected unqualified-id before 'for'
48 | for(int i=1;i<=cur;i++)
| ^~~
foo.cc:48:17: error: 'i' does not name a type
48 | for(int i=1;i<=cur;i++)
| ^
foo.cc:48:24: error: 'i' does not name a type
48 | for(int i=1;i<=cur;i++)
| ^
foo.cc:50:5: error: 'cout' does not name a type
50 | cout<<ans<<endl;
| ^~~~
foo.cc:51:5: error: expected unqualified-id before 'return'
51 | return 0;
| ^~~~~~
foo.cc:52:1: error: expected declaration before '}' token
52 | }
| ^
[Hydro](https://hydro.ac)提供评测服务