/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int vv2(int, int)':
/in/foo.cc:34:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'void vv1(int, int)':
/in/foo.cc:24:33: warning: array subscript is below array bounds [-Warray-bounds]
  if(xx<0 && yy>=0) vist[1][0][xx][yy]=1;
                    ~~~~~~~~~~~~~^
/in/foo.cc:25:37: warning: array subscript is below array bounds [-Warray-bounds]
  if(xx>=0 && yy<0) vist[0][1][xx][yy]=1;
                    ~~~~~~~~~~~~~~~~~^
/in/foo.cc:26:36: warning: array subscript is below array bounds [-Warray-bounds]
  if(xx<0 && yy<0) vist[1][1][xx][yy]=1;
                   ~~~~~~~~~~~~~~~~~^
/in/foo.cc:26:32: warning: array subscript is below array bounds [-Warray-bounds]
  if(xx<0 && yy<0) vist[1][1][xx][yy]=1;
                   ~~~~~~~~~~~~~^
/in/foo.cc: In function 'int vv2(int, int)':
/in/foo.cc:31:40: warning: array subscript is below array bounds [-Warray-bounds]
  if(xx<0 && yy>=0) return vist[1][0][xx][yy];
                           ~~~~~~~~~~~~~^
/in/foo.cc:32:44: warning: array subscript is below array bounds [-Warray-bounds]
  if(xx>=0 && yy<0) return vist[0][1][xx][yy];
                           ~~~~~~~~~~~~~~~~~^
/in/foo.cc:33:43: warning: array subscript is below array bounds [-Warray-bounds]
  if(xx<0 && yy<0) return vist[1][1][xx][yy];
                          ~~~~~~~~~~~~~~~~~^
/in/foo.cc:33:39: warning: array subscript is below array bounds [-Warray-bounds]
  if(xx<0 && yy<0) return vist[1][1][xx][yy];
                          ~~~~~~~~~~~~~^
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 4.355 MiB
#2 Runtime Error 4ms 2.258 MiB
#3 Runtime Error 4ms 2.344 MiB
#4 Runtime Error 361ms 254.25 MiB
#5 Runtime Error 5ms 2.375 MiB
#6 Runtime Error 156ms 84.336 MiB
#7 Accepted 5ms 4.344 MiB
#8 Runtime Error 7ms 2.348 MiB
#9 Time Exceeded ≥1005ms ≥20.375 MiB
#10 Runtime Error 246ms 126.336 MiB

信息

递交者
类型
递交
题目
P1366 冰原探险
语言
C++
递交时间
2018-01-27 14:25:11
评测时间
2018-01-27 14:25:11
评测机
分数
10
总耗时
1801ms
峰值内存
254.25 MiB