Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147562 王顺煜 找最大的数 C++ Accepted 0 MS 280 KB 221 2026-02-06 10:51:14

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a[11],s; int max; cin>>a[1]; max=a[1]; s=1; for(int i=2;i<=10;i++){ cin>>a[i]; if(max<a[i]){ max=a[i]; s=i; } } cout<<s; }