| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 164843 | 李嘉峻 | 找最大的数 | C++ | Accepted | 1 MS | 272 KB | 245 | 2026-11-07 15:39:13 |
#include<bits/stdc++.h> using namespace std; int a[10]; int main() { for(int i = 0;i<10;i++){ cin>>a[i]; } int m = -100; int t = 0; for(int i = 0;i<10;i++){ if(m<a[i]){ m=a[i]; t=i+1; } } cout<<t; return 0; }