| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 145269 | 徐毅然 | 求三个数的最大值 | C++ | Wrong Answer | 1 MS | 272 KB | 290 | 2026-01-25 14:23:13 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; int max=a; if(a<b){ max=b; if(b<c){ max=c; } }else{ if(c>a){ max=c; } } cout<<max; return 0; }
------Input------
8 5 20
------Answer-----
max=20
------Your output-----
20