Wrong Answer
/in/foo.cc: In function 'int swp(int*, int*)': /in/foo.cc:19:61: warning: no return statement in function returning non-void [-Wreturn-type] 19 | int swp(int* a, int* b) { int tmp = *a; *a = *b, * b = tmp; } | ^ /in/foo.cc: In function 'void spfa(int)': /in/foo.cc:35:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 35 | for (int i = 0; i < map[T].size(); i++) { | ~~^~~~~~~~~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1578 渡河
- 语言
- C++
- 递交时间
- 2025-03-10 17:10:35
- 评测时间
- 2025-03-10 17:10:35
- 评测机
- 分数
- 0
- 总耗时
- 49ms
- 峰值内存
- 2.043 MiB