foo.cc: In function 'void allplus(int)':
foo.cc:33:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<=n-1;i++){
~^~~~~
foo.cc: In function 'void allmulti(int)':
foo.cc:38:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<=n-1;i++){
~^~~~~
foo.cc: In function 'void allbe(int)':
foo.cc:43:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<=n-1;i++){
~^~~~~
foo.cc: In function 'int addition()':
foo.cc:49:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<=n-1;i++){
~^~~~~
foo.cc: In function 'int main()':
foo.cc:66:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<=q-1;i++){
~^~~~~
foo.cc: In function 'int addition1()':
foo.cc:62:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。