foo.cc: In function 'void do1(int, std::map<int, int>&)':
foo.cc:20:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v.size()&&v[i]<=x;++i)
~^~~~~~~~~
foo.cc:26:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
foo.cc:28:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
return ;
^~~~~~
foo.cc:35:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
foo.cc:37:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
x/=v[i];
^
foo.cc: In function 'int main()':
foo.cc:80:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(it=q.begin();it!=q.end();++it)
^~~
foo.cc:85:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
cout<<t<<endl;
^~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。