foo.cc: In function 'int get(int, int)':
foo.cc:38:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for (int i = 0; i < graph_r[node].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int work()':
foo.cc:85:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
85 | for (int i = 0; i < graph[elem].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~
foo.cc:56:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
56 | scanf("%d%d%d%d", &n, &m, &k, &p);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:63:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
63 | scanf("%d%d%d", &a, &b, &c);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:105:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
105 | scanf("%d", &T);
| ~~~~~^~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务