foo.cc: In function 'void dfs(int, int)':
foo.cc:8:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | for (int i = 0; i < v[u].size(); ++i) {
| ~~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:27:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
27 | scanf("%d:(%d)", &u, &m);
| ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:30:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
30 | scanf("%d", &y);
| ~~~~~^~~~~~~~~~
正在同步测试数据,请稍后
Found 5 testcases.
[Hydro](https://hydro.ac)提供评测服务