foo.cc: In function 'int main()':
foo.cc:11:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i,x,y) for(i=x;i<=y;++i)
......
66 | FOR(j,0,e[i].v.size()-1){
| ~~~~~~~~~~~~~~~~~~~
foo.cc:66:9: note: in expansion of macro 'FOR'
66 | FOR(j,0,e[i].v.size()-1){
| ^~~
foo.cc:11:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i,x,y) for(i=x;i<=y;++i)
......
68 | FOR(k,0,e[0].v.size()-1)
| ~~~~~~~~~~~~~~~~~~~
foo.cc:68:9: note: in expansion of macro 'FOR'
68 | FOR(k,0,e[0].v.size()-1)
| ^~~
foo.cc:39:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
39 | scanf("%d%d%d",&n,&m,&l);
| ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:46:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
46 | scanf("%s",s);
| ~~~~~^~~~~~~~
foo.cc:55:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
55 | scanf("%s",s);
| ~~~~~^~~~~~~~
foo.cc:58:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
58 | scanf("%s",s);
| ~~~~~^~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务