Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
66971 黄枳润 比较三个数大小II C++ Compile Error 0 MS 0 KB 235 2024-03-12 19:22:48

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:22: error: expected ')' before '{' token
     }else if(b>a&&b>c{
                      ^
Main.cc:14:1: error: expected statement at end of input
 }
 ^
Main.cc:14:1: error: expected '}' at end of input