Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
4891 | 若楷编程专用 | 08比较三个数的大小 | C++ | Accepted | 0 MS | 260 KB | 281 | 2024-09-28 20:42:33 |
#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;} if(b>a){ if(b>c) cout<<b<<endl; else cout<<c<<endl;} }