记录详情

Runtime Error

/in/foo.cc: In function 'void add_(int, int, int, int, int)':
/in/foo.cc:34:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(map[x][i]=='P'&&!v[x][i][k]||v[x][i][k]>=bu)
       ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:40:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(map[i][y]=='P'&&!v[i][y][k]||v[i][y][k]>=bu)
       ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:47:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(map[x][i]=='P'&&!v[x][i][k]||v[x][i][k]>=bu)
       ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:54:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(map[i][y]=='P'&&!v[i][y][k]||v[i][y][k]>=bu)
       ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:65:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=m;i++)
  ^~~
/in/foo.cc:68:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    if(map[m][n]=='L'){cout<<"impossible"<<endl;return 0;}
    ^~
# 状态 耗时 内存占用
#1 Runtime Error 865ms 157.125 MiB
#2 Runtime Error 632ms 144.602 MiB
#3 Wrong Answer 140ms 54.375 MiB
#4 Accepted 18ms 1.0 MiB
#5 Wrong Answer 332ms 154.125 MiB
#6 Wrong Answer 298ms 85.375 MiB
#7 Runtime Error 849ms 157.125 MiB
#8 Wrong Answer 353ms 156.375 MiB
#9 Runtime Error 258ms 83.109 MiB
#10 Runtime Error 234ms 26.703 MiB

信息

递交者
类型
递交
题目
飞越原野
语言
C++
递交时间
2018-10-11 00:43:43
评测时间
2018-10-11 00:43:43
评测机
分数
10
总耗时
3983ms
峰值内存
157.125 MiB