foo.cc: In function 'void solve()':
foo.cc:45:19: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
45 | if(up[x].size() < k){
| ~~~~~~~~~~~~~^~~
foo.cc:40:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
40 | scanf("%d%d" , &x , &k);
| ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:60:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
60 | scanf("%d" , &n);int x,y;
| ~~~~~^~~~~~~~~~~
foo.cc:62:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
62 | scanf("%d%d" , &x , &y);
| ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:69:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
69 | scanf("%d" , &m);
| ~~~~~^~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务