| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 132466 | 范恒恺 | 求三个数的最大值 | C++ | Wrong Answer | 1 MS | 272 KB | 206 | 2025-10-08 14:57:12 |
#include<bits/stdc++.h> using namespace std; int main() { int a[3],max=0; for(int i=1;i<=3;i++){ cin>>a[i]; } for(int i=1;i<=3;i++){ if(max<a[i]){ a[i]=max; } } cout<<"max="<<max; }
------Input------
8 5 20
------Answer-----
max=20
------Your output-----
max=0