/in/foo.cc: In function 'int main()':
/in/foo.cc:50:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=maxn;j>=a[i].cost;j--)
^~~
/in/foo.cc:55:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
long long ans=0;
^~~~
/in/foo.cc:56:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=maxn;i++)
^~~
/in/foo.cc:60:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
cout<<ans<<endl;
^~~~