| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 145729 | 潘明泽 | 求三个数的最大值 | C++ | Accepted | 0 MS | 280 KB | 369 | 2026-01-25 18:47:55 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int n1,n2,n3; string s; int a[5005]; int main(){ cin>>n1>>n2>>n3; cout<<"max="<<max(max(n1,n2),n3); return 0; }