/ 大熊 /

记录详情

Runtime Error

/in/foo.cc: In function 'int work(int, int, int)':
/in/foo.cc:19:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc:11:20: warning: array subscript is above array bounds [-Warray-bounds]
     if (map[p][q][1] == t)   if (min>0)   min=0; 
         ~~~~~~~~~~~^
/in/foo.cc:15:16: warning: array subscript is above array bounds [-Warray-bounds]
     map[p][q][1]=3;
     ~~~~~~~~~~~^
/in/foo.cc:18:36: warning: array subscript is above array bounds [-Warray-bounds]
         if (map[p+dx[i]][q+dy[i]][1] != 3)   work(p+dx[i],q+dy[i],map[p+dx[i]][q+dy[i]][1]);
             ~~~~~~~~~~~~~~~~~~~~~~~^
/in/foo.cc: In function 'int main()':
/in/foo.cc:27:24: warning: array subscript is above array bounds [-Warray-bounds]
             map[i][j][1]=2;
             ~~~~~~~~~~~^
/in/foo.cc:31:20: warning: array subscript is above array bounds [-Warray-bounds]
         map[a][b][1]=c;
         ~~~~~~~~~~~^
/in/foo.cc:33:13: warning: array subscript is above array bounds [-Warray-bounds]
     ans=work(1,1,map[1][1][1]);
         ~~~~^~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 380.0 KiB
#2 Runtime Error 4ms 1.09 MiB
#3 Runtime Error 4ms 1.0 MiB
#4 Runtime Error 4ms 1.078 MiB
#5 Runtime Error 4ms 1.0 MiB
#6 Runtime Error 4ms 1.0 MiB
#7 Runtime Error 6ms 1.078 MiB
#8 Runtime Error 5ms 1.125 MiB
#9 Runtime Error 5ms 1.078 MiB
#10 Runtime Error 3ms 1.113 MiB
#11 Runtime Error 3ms 1.0 MiB
#12 Runtime Error 3ms 1.0 MiB
#13 Runtime Error 3ms 1.078 MiB
#14 Runtime Error 3ms 1.109 MiB
#15 Runtime Error 3ms 1.004 MiB
#16 Runtime Error 3ms 1.121 MiB
#17 Runtime Error 2ms 1.125 MiB
#18 Runtime Error 2ms 976.0 KiB
#19 Runtime Error 4ms 1.0 MiB
#20 Runtime Error 7ms 1.125 MiB

信息

递交者
类型
递交
题目
普及组chess
语言
C++
递交时间
2017-11-21 21:21:53
评测时间
2017-11-21 21:21:53
评测机
分数
0
总耗时
87ms
峰值内存
1.125 MiB