记录详情

Wrong Answer

foo.cc: In function 'bool check(int, int, std::vector<std::vector<int> >&)':
foo.cc:12:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (si - 1 >= 0 && list[si - 1][sj] >= list[si][sj] || si - 1 < 0)
foo.cc:14:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (si + 1 < n && list[si + 1][sj] >= list[si][sj] || si + 1 >= n)
foo.cc:16:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (sj - 1 >= 0 && list[si][sj - 1] >= list[si][sj] || sj - 1 < 0)
foo.cc:18:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (sj + 1 < m && list[si][sj + 1] >= list[si][sj] || sj + 1 >= m)
foo.cc: In function 'int solve(std::vector<std::vector<int> >&)':
foo.cc:65:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < list.size(); i++)
                  ~~^~~~~~~~~~~~~
foo.cc:66:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = 0; j < list[0].size(); j++)
                   ~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 2, expect 1. 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Wrong Answer Read 5, expect 0. 1ms 384.0 KiB
#5 Wrong Answer Read 4, expect 1. 1ms 384.0 KiB
#6 Wrong Answer Read 24, expect 0. 2ms 384.0 KiB
#7 Accepted 1ms 384.0 KiB
#8 Wrong Answer Read 9, expect 7. 1ms 384.0 KiB
#9 Wrong Answer Read 17, expect 1. 1ms 384.0 KiB
#10 Accepted 1ms 384.0 KiB
#11 Wrong Answer Read 31, expect 1. 2ms 360.0 KiB
#12 Accepted 467ms 18.203 MiB
#13 Accepted 466ms 18.305 MiB
#14 Accepted 477ms 20.75 MiB

信息

递交者
类型
递交
题目
P1298 E. Maze
比赛
南京师范大学2021年11月程序设计竞赛
语言
C++
递交时间
2021-11-21 15:08:38
评测时间
2021-11-21 16:15:09
评测机
分数
110
总耗时
1432ms
峰值内存
20.75 MiB