题解 3020: 最大数位置

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

筛选

index查找列表下标

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

3020: 最大数位置

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>typedef long long ll;const int N=1e7;ll a[N];using namespace s……

题解 3020: 最大数位置

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;typedef long long ll;const ll N=1e7;ll a[N];in……

3020: 最大数位置

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e7;ll a[N……

题解 3020: 最大数位置

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

3020: 最大数位置

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;typedef long long ll;const ll N=1e7;ll a[N];in……

编写题解 3020: 最大数位置

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

3020:最大位数

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