3020: 最大数位置
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e7;ll a[N……
十几行代码直接搞定好叭
摘要:解题思路:#include <stdio.h>
int main()
{
int n,i,t;
scanf("%d",&n);
double a[n+1],an,max;//不用i……
java最大数的位置
摘要:解题思路:注意事项:参考代码:package lianxi;import java.util.Scanner;public class 最大数位置 { public static void ma……
list.index()列表的函数不记得怎么办
摘要:解题思路:注意事项:参考代码:n=input()l=list(map(int,input().split()))m=max(l)print(l.index(m)+1)#学会使用列表的函数……
编写题解 3020: 最大数位置
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,a[1001],maxx=1; cin>>n; ……
解 3020: 最大数位置
摘要: #include
using namespace std;
const int N = 20000;
int a[N];
int i,w=0,c;
……
3020: 最大数位置
摘要:```
#include
using namespace std;
int a[100000],n,maxx,num;
int main(){
cin>>n;
maxx = -1;
……
3020: 最大数位置
摘要:```cpp
#include
using namespace std;
int main()
{
int n,a[1001],maxx=1;
cin>>n;
f……