| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 315674 | 123456 | 【C4-3】最大数 | C++ | Accepted | 100 | 1 MS | 248 KB | 261 | 2025-04-02 15:34:53 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,a[15],ma=INT_MIN; cin>>n; for(int i=1;i<=n;i++){ cin>>a[i]; if(a[i]>ma) ma=a[i]; } for(int i=1;i<=n;i++) if(ma==a[i]) cout<<i<<endl; return 0; }