记录详情

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 897ms 157.125 MiB
#2 Runtime Error 668ms 144.375 MiB
#3 Wrong Answer 145ms 54.375 MiB
#4 Accepted 12ms 1.0 MiB
#5 Wrong Answer 395ms 154.125 MiB
#6 Wrong Answer 339ms 85.348 MiB
#7 Runtime Error 840ms 157.125 MiB
#8 Wrong Answer 464ms 156.375 MiB
#9 Runtime Error 315ms 83.0 MiB
#10 Runtime Error 284ms 26.582 MiB

信息

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