记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:55:15: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
    if(b[i][j] == b[j][i] == 1 && i != j)
       ~~~~~~~~^~~~~~~~~~
/in/foo.cc:55:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
    if(b[i][j] == b[j][i] == 1 && i != j)
      ^
/in/foo.cc:64: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 332.0 KiB
#2 Wrong Answer 1ms 328.0 KiB
#3 Wrong Answer 1ms 336.0 KiB
#4 Wrong Answer 1ms 328.0 KiB
#5 Wrong Answer 1ms 336.0 KiB
#6 Wrong Answer 2ms 328.0 KiB
#7 Wrong Answer 1ms 336.0 KiB
#8 Wrong Answer 1ms 328.0 KiB
#9 Wrong Answer 2ms 336.0 KiB
#10 Wrong Answer 2ms 328.0 KiB

信息

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