| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 147561 | 鸡哥 | 找最大的数 | C++ | Accepted | 0 MS | 268 KB | 223 | 2026-02-06 10:41:21 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[11],x,s; cin>>a[1]; s=1; x=a[1]; for(int i = 2;i<=10;i++){ cin>>a[i]; if(x < a[i]){ x=a[i]; s=i; } } cout<<s; return 0; }