记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:54:15: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
    if(b[i][j] == b[j][i] == 1 && i != j)
       ~~~~~~~~^~~~~~~~~~
/in/foo.cc:54:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
    if(b[i][j] == b[j][i] == 1 && i != j)
      ^
/in/foo.cc:63:45: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
     if(c[i][j]<(c[i][k]+c[k][j]) && b[i][k] == b[k][j] == 1 && i!= j)
                                     ~~~~~~~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 324.0 KiB
#2 Accepted 1ms 336.0 KiB
#3 Wrong Answer 1ms 328.0 KiB
#4 Wrong Answer 1ms 336.0 KiB
#5 Wrong Answer 1ms 328.0 KiB
#6 Wrong Answer 1ms 336.0 KiB
#7 Accepted 1ms 328.0 KiB
#8 Accepted 1ms 336.0 KiB
#9 Accepted 1ms 328.0 KiB
#10 Wrong Answer 2ms 336.0 KiB

信息

递交者
类型
递交
题目
奶牛吃草(这是一道附加题...)
语言
C++
递交时间
2019-03-04 20:17:38
评测时间
2019-03-04 20:17:38
评测机
分数
40
总耗时
18ms
峰值内存
336.0 KiB