foo.cc: In function 'int main()':
foo.cc:10:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
foo.cc:13:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
cout<<z[i]<<" ";
^~~~
foo.cc:7:13: warning: unused variable 'maxn' [-Wunused-variable]
int n,i,maxn=0,now=0,top=0;
^~~~
foo.cc:7:20: warning: unused variable 'now' [-Wunused-variable]
int n,i,maxn=0,now=0,top=0;
^~~
foo.cc:7:26: warning: unused variable 'top' [-Wunused-variable]
int n,i,maxn=0,now=0,top=0;
^~~
foo.cc:8:15: warning: unused variable 'sum' [-Wunused-variable]
long long sum=0;
^~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-27T13:39:33.008Z","handle":"2020-07-27T13:39:33.008Z","cache_start":"2020-07-27T13:39:33.015Z","read_cases":"2020-07-27T13:39:33.700Z","judge":"2020-07-27T13:39:33.700Z","done":"2020-07-27T13:39:34.111Z"}