list.index()列表的函数不记得怎么办 摘要:解题思路:注意事项:参考代码:n=input()l=list(map(int,input().split()))m=max(l)print(l.index(m)+1)#学会使用列表的函数…… 题解列表 2023年05月05日 0 点赞 0 评论 292 浏览 评分:9.9
3020: 最大数位置 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int a,sum;int c[1000000];int main(){ cin >>a; …… 题解列表 2023年07月18日 0 点赞 0 评论 526 浏览 评分:9.9
十几行代码直接搞定好叭 摘要:解题思路:#include <stdio.h> int main() { int n,i,t; scanf("%d",&n); double a[n+1],an,max;//不用i…… 题解列表 2022年11月22日 0 点赞 2 评论 762 浏览 评分:9.6
3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e7;ll a[N…… 题解列表 2024年04月21日 1 点赞 0 评论 380 浏览 评分:8.0
选择法)最大数位置 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[1001]; int i; int j; int n; int max…… 题解列表 2022年11月21日 0 点赞 0 评论 365 浏览 评分:6.7
3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>int main(){ …… 题解列表 2022年11月14日 0 点赞 0 评论 378 浏览 评分:2.7
题解 3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ int n…… 题解列表 2024年05月05日 0 点赞 0 评论 246 浏览 评分:0.0
3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ &nbs…… 题解列表 2025年08月18日 0 点赞 0 评论 70 浏览 评分:0.0
c语言与c++结合-最大数位置 摘要:解题思路:注意事项:long long参考代码:#include<iostream>usingnamespacestd;intmain(){…… 题解列表 2025年04月20日 2 点赞 0 评论 320 浏览 评分:0.0
两种方法:递归函数 && 简单for循环 摘要:解题思路:注意事项:参考代码://递归函数#include<iostream>#include<vector>using namespace std ;long long ko…… 题解列表 2025年04月17日 0 点赞 0 评论 170 浏览 评分:0.0