/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void spfa(int)':
/in/foo.cc:62:42: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   62 |                         if (tmp1.count() <= m) {
      |                             ~~~~~~~~~~~~~^~~~
/in/foo.cc:50:42: warning: unused variable 'cnt' [-Wunused-variable]
   50 |                         int chg = t ^ i, cnt = 0, f = 1, temp = i;
      |                                          ^~~
/in/foo.cc:50:51: warning: unused variable 'f' [-Wunused-variable]
   50 |                         int chg = t ^ i, cnt = 0, f = 1, temp = i;
      |                                                   ^
/in/foo.cc:50:58: warning: unused variable 'temp' [-Wunused-variable]
   50 |                         int chg = t ^ i, cnt = 0, f = 1, temp = i;
      |                                                          ^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 500.0 KiB
#2 Accepted 2ms 484.0 KiB
#3 Wrong Answer 1ms 540.0 KiB
#4 Wrong Answer 1ms 544.0 KiB
#5 Wrong Answer 2ms 492.0 KiB
#6 Accepted 2ms 476.0 KiB
#7 Wrong Answer 2ms 476.0 KiB
#8 Wrong Answer 6ms 568.0 KiB
#9 Wrong Answer 9ms 568.0 KiB
#10 Wrong Answer 14ms 560.0 KiB

信息

递交者
类型
递交
题目
P1578 渡河
语言
C++
递交时间
2025-03-13 20:48:22
评测时间
2025-03-13 20:48:22
评测机
分数
30
总耗时
45ms
峰值内存
568.0 KiB