| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 124191 | 罗锦墨 | 找最大的数 | C++ | Wrong Answer | 0 MS | 272 KB | 284 | 2025-07-11 10:29:29 |
#include<bits/stdc++.h> using namespace std; int a[15];//数组 的定义 int main() { for(int i=1;i<=5;i++ ){ cin>>a[i]; } int n=a[1]; int nd=1; for(int i=2;i<=10;i++ ){ if(a[i]>n){ n=a[i]; nd=i; } } cout<<nd<<" "; return 0; }
------Input------
897 355 710 924 49 819 600 925 589 589
------Answer-----
8
------Your output-----
4