| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 143686 | 王峻熙 | 求三个数的最大值 | C++ | Wrong Answer | 0 MS | 268 KB | 260 | 2026-01-17 14:53:49 |
#include<iostream> using namespace std; int main(){ int x,y,z,max=0; cin>>x>>y>>z; if(x<y){ max=y; if(y<z){ max=z; } else{ max=y; } } else{ max=x; } return 0; }
------Input------
8 5 20
------Answer-----
max=20
------Your output-----