记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(a>b>c){
     ~^~
/in/foo.cc:10:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(a>c>b){
          ~^~
/in/foo.cc:13:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(b>a>c){
          ~^~
/in/foo.cc:16:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(b>c>a){
          ~^~
/in/foo.cc:19:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(c>a>b){
          ~^~
/in/foo.cc:22:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(c>b>a){
          ~^~
/in/foo.cc:25:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  else if(a=b=c){
               ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 200.0 KiB

信息

递交者
类型
自测
题目
结构化的程序格式,是编程世界的基石。
语言
C++
递交时间
2019-02-25 21:39:58
评测时间
2019-02-25 21:39:58
评测机
分数
0
总耗时
1ms
峰值内存
200.0 KiB