foo.cc: In function 'int main()':
foo.cc:33:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
33 | for(int i=0;i<=N;++i)
| ^~~
foo.cc:35:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
35 | printf("%d",ans);
| ^~~~~~
foo.cc:35:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
35 | printf("%d",ans);
| ~^ ~~~
| | |
| | long long int
| int
| %lld
foo.cc:35:10: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
35 | printf("%d",ans);
| ~~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务