/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'long long int vv2(long long int, long long int)':
/in/foo.cc:34:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'void vv1(long long int, long long 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 'long long int vv2(long long int, long long 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 5ms 4.375 MiB
#2 Runtime Error 9ms 12.25 MiB
#3 Runtime Error 4ms 2.371 MiB
#4 Runtime Error 196ms 82.457 MiB
#5 Runtime Error 6ms 2.34 MiB
#6 Runtime Error 76ms 34.406 MiB
#7 Accepted 6ms 4.332 MiB
#8 Runtime Error 6ms 2.25 MiB
#9 Time Exceeded ≥1004ms ≥14.75 MiB
#10 Runtime Error 175ms 34.711 MiB

信息

递交者
类型
递交
题目
P1366 冰原探险
语言
C++
递交时间
2018-01-27 15:52:31
评测时间
2018-01-27 15:52:31
评测机
分数
10
总耗时
1491ms
峰值内存
82.457 MiB