foo.cc: In function 'void addNum(std::vector<Num>&, Num&)':
foo.cc:137:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Num>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
137 | for(int i=0;i<v.size();i++) {
| ~^~~~~~~~~
foo.cc: In function 'Num& getGoodOne(int, int)':
foo.cc:201:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Num>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
201 | for(int i=0;i<vi.size();i++) {
| ~^~~~~~~~~~
foo.cc: In function 'void preCalc()':
foo.cc:260:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Num>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
260 | for(int k=0;k<preBuild.size();k++) {
| ~^~~~~~~~~~~~~~~~
foo.cc:261:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Num>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
261 | for(int k2=k+1;k2<preBuild.size();k2++) {
| ~~^~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务