/in/foo.cc: In function 'int main()':
/in/foo.cc:21:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(maxb==0)break;--d[maxb];
^~
/in/foo.cc:21:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(maxb==0)break;--d[maxb];
^~
/in/foo.cc:24:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;++i)ans+=f[i]*sum[i];printf("%d",ans);
^~~
/in/foo.cc:24:36: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=1;i<=n;++i)ans+=f[i]*sum[i];printf("%d",ans);
^~~~~~
/in/foo.cc:8:18: warning: unused variable 'j' [-Wunused-variable]
A n,m,k,ans=0,i,j,t,a1,b,max1,maxb;;
^