记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:9: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
     if(a<b<c){
        ~^~
/in/foo.cc:11:9: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
     if(b<a<c){
        ~^~
/in/foo.cc:17:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(c<a<b){
     ~^~
/in/foo.cc:22:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(a<c<b){
     ~^~
/in/foo.cc:26:2: error: expected ';' before '}' token
  }
  ^

信息

递交者
类型
递交
语言
C++
递交时间
2024-10-23 17:26:18
评测时间
2024-10-23 17:26:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes