Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
106606 李明秦 输出成绩等级II C++ Compile Error 0 MS 0 KB 239 2025-01-16 14:04:03

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<<a; }a if(b>a&&b>c){ cout<<b; } if(c>a&&c>b){ cout<<c; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:5: error: expected ';' before 'if'
     if(b>a&&b>c){
     ^
Main.cc:11:5: warning: statement has no effect [-Wunused-value]
     }
     ^