| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 79529 | 杜春雨 | 求三个数的最大值 | C++ | Accepted | 1 MS | 268 KB | 296 | 2024-07-07 16:13:29 |
#include<iostream> #include<cstdio> using namespace std; int main(){ int a,b,c; int max1,max2; scanf("%d %d %d",&a,&b,&c); if(a>=b) max1=a; else max1=b; if(max1>=c) max2=max1; else max2=c; cout<<"max="<<max2; return 0; }