| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 80053 | 石晋骁 | 找最大的数 | C++ | Accepted | 1 MS | 272 KB | 255 | 2024-07-11 10:44:17 |
#include<bits/stdc++.h> using namespace std; int a[11]; int main(){ int b,wb; for(int i = 1;i <= 10;i++){ cin>> a[i]; } b = a[1]; for(int j = 2;j < 11;j++){ if(a[j] >b){ b = a[j]; wb = j; } } cout << wb; return 0; }