foo.cc: In function 'int main()':
foo.cc:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<n;i++)
^~~
foo.cc:17:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(q=1;q<n;q++)
^~~
foo.cc:7:12: warning: unused variable 'k' [-Wunused-variable]
int i,j,k,n,m=-2100000000,mx=-2100000000,q,z;
^
foo.cc:7:30: warning: unused variable 'mx' [-Wunused-variable]
int i,j,k,n,m=-2100000000,mx=-2100000000,q,z;
^~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。