| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 145130 | 徐景一 | 求三个数的最大值 | C++ | Wrong Answer | 0 MS | 268 KB | 290 | 2026-01-25 08:57:11 |
#include <iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a<b && b<c){ cout<<"max="<<c<<endl; }else if(a<b && c<b){ cout<<"max="<<b<<endl; }else if(b<a && c<a){ cout<<"max="<<a<<endl; } return 0; }
------Input------
8 5 20
------Answer-----
max=20
------Your output-----