foo.cc: In member function 'CCC::AC CCC::cl0(int, int, int)':
foo.cc:131:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<dax[x].size()&&dax[x][i].A<y; i++);
~^~~~~~~~~~~~~~
foo.cc:132:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i==dax[x].size())return (AC){0,0,-1};
~^~~~~~~~~~~~~~~
foo.cc:134:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; i<dax[x].size(); i++){
~^~~~~~~~~~~~~~
foo.cc: In member function 'CCC::AC CCC::cl2(int, int, int)':
foo.cc:171:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<day[y].size()&&day[y][i].A<x; i++);
~^~~~~~~~~~~~~~
foo.cc:172:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i==day[y].size())return (AC){0,0,-1};
~^~~~~~~~~~~~~~~
foo.cc:174:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; i<day[y].size(); i++){
~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。