/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void BFS(int)':
/in/foo.cc:50:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edgenode>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   50 |         for (int i = 0; i < edge[u].size(); i++)
      |                         ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:91:25: warning: value computed is not used [-Wunused-value]
   91 |                 boat[j] == 1;
/in/foo.cc:106:86: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  106 |                 if (boat1[0] == 0 && flag[j] && boat1[0] != boat2[0] && tmp2.count() <= m)
      |                                                                         ~~~~~~~~~~~~~^~~~
# 状态 耗时 内存占用
#1 Accepted 20ms 23.496 MiB
#2 Accepted 19ms 23.488 MiB
#3 Wrong Answer 19ms 23.484 MiB
#4 Wrong Answer 19ms 23.492 MiB
#5 Accepted 19ms 23.484 MiB
#6 Accepted 19ms 23.348 MiB
#7 Wrong Answer 19ms 23.484 MiB
#8 Wrong Answer 21ms 23.57 MiB
#9 Accepted 21ms 23.523 MiB
#10 Accepted 23ms 23.586 MiB

信息

递交者
类型
递交
题目
P1578 渡河
语言
C++
递交时间
2025-03-12 17:35:12
评测时间
2025-03-12 17:35:12
评测机
分数
60
总耗时
203ms
峰值内存
23.586 MiB