记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:6:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(a>=b>=c)
     ~^~~
/in/foo.c:10:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(a>=c>=b)
          ~^~~
/in/foo.c:12:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(b>=a>=c)    
          ~^~~
/in/foo.c:14:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(b>=c>=a)
          ~^~~
/in/foo.c:16:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(c>=a>=b)    
          ~^~~
/in/foo.c:18:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(c>=b>=a)    
          ~^~~
/in/foo.c:18:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  else if(c>=b>=a)    
       ^~
/in/foo.c:20:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      return 0;
      ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 200.0 KiB
#2 Wrong Answer 1ms 204.0 KiB

信息

递交者
类型
递交
题目
结构化的程序格式,是编程世界的基石。
语言
C
递交时间
2019-02-27 14:42:02
评测时间
2019-02-27 14:42:02
评测机
分数
50
总耗时
2ms
峰值内存
204.0 KiB