| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 77854 | 只因你太美(Ikun 真爱粉) | 求三个数的最大值 | C++ | Accepted | 1 MS | 268 KB | 350 | 2024-06-15 16:16:54 |
# include<iostream> using namespace std; int main(){ int t,n,a,b,c; cin>>a>>b>>c; if(a>=b&&a>=c){ cout<<a; return 0; } if(b>=a&&b>=c){ cout<<b; return 0; } if(c>=b&&c>=a){ cout<<"max="<<c; return 0; } return 0; }