Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
3938 | 刘芃伽 | 08比较三个数的大小 | C++ | Accepted | 0 MS | 268 KB | 320 | 2024-07-19 15:11:07 |
# include<iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(a>b){ if(a>c){cout<<a<<endl; } else{cout<<c<<endl; } } else{ if(b>c){ cout<<b<<endl; } else{cout<<c<<endl; } } return 0; }