/ 程序猿 /

记录详情

Runtime Error

/in/foo.cc: In function 'int bfs(int, int)':
/in/foo.cc:15:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=0;i<4;i++)
   ^~~
/in/foo.cc:17:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
       ty=hy[head]+nexx[i][1];
       ^~
/in/foo.cc:18:37: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
       if(!a[tx][ty]&&tx<11&&tx>0&&ty<11&ty>0)
                                   ~~^~~
/in/foo.cc:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
 } 
 ^
/in/foo.cc:17:25: warning: array subscript is above array bounds [-Warray-bounds]
       ty=hy[head]+nexx[i][1];
                   ~~~~~~^
# 状态 耗时 内存占用
#1 Runtime Error 1ms 204.0 KiB
#2 Runtime Error 1ms 236.0 KiB
#3 Runtime Error 1ms 204.0 KiB
#4 Runtime Error 1ms 200.0 KiB
#5 Runtime Error 1ms 204.0 KiB

信息

递交者
类型
递交
题目
面积
语言
C++
递交时间
2019-03-17 16:04:39
评测时间
2019-03-17 16:04:39
评测机
分数
0
总耗时
9ms
峰值内存
236.0 KiB