题解 3020: 最大数位置

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

3020:最大数位置

解题思路:注意事项:参考代码:#includeintmain(){inta[1000],i,n,ma,k;scanf("%d",&n);for(i=0;im

3020:最大数位置

解题思路:注意事项:参考代码:#includeintmain(){intn,a[1000],max,i,pos;scanf("%d",&n);for(i=0;i

3020: 最大数位置

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ &nbs……

3020 :正确题解

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,m=0;&……

3020:最大位数

解题思路:注意事项:参考代码:n=int(input())list_=list(map(int,input().strip().split()))m=max(list_)i=list_.index(m)print(i+1)

编写题解 3020: 最大数位置

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int n,max=0; cin>>n;int a[n];fo……