Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148566 李昱龙 找最大的数 C++ Accepted 1 MS 272 KB 210 2026-02-26 10:22:17

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int b[12]; int n,sum=0; int main() { for(int i=1; i<=10; i++) { cin>>b[i]; if(b[i]>sum) { sum=b[i]; n=i; } } cout<<n; return 0; }