foo.cc: In function 'int getsol(int, int)':
foo.cc:69:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cc: In function 'int main()':
foo.cc:89:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<res.size();++i) {
~^~~~~~~~~~~
foo.cc: In function 'int go(int, int, int)':
foo.cc:61:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
foo.cc: In function 'int main()':
foo.cc:86:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。