Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
137692 曾钰涵 08比较三个数的大小 C++ Compile Error 0 MS 0 KB 326 2025-11-22 12:13:03

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>b>c) { if(a<b<c) { if(b>a>c) cout<<c大<<endl; } else { cout<<"no"<<endl; } } else { cout<<"no"<<endl; } return 0; }


Run Info:

Main.cc:11:9: error: stray '\345' in program
         cout<b>c)
         ^
Main.cc:8:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
       if(aa>c)
             ^