| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 72578 | Kevin | 找最大的数 | C++ | Accepted | 0 MS | 272 KB | 231 | 2024-05-11 16:37:10 |
#include<iostream> #include<cstdio> using namespace std; int main(){ int a[20],max=0,xuhao; for(int i=1;i<=10;i++) { cin>>a[i]; if(a[i]>max){ max=a[i]; xuhao=i; } } cout<<xuhao; return 0; }