2878: 计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:m, n = map(int, input().split()) arr = [] for _ in range(m): arr.append(list(m…… 题解列表 2024年03月29日 0 点赞 1 评论 317 浏览 评分:0.0
阶乘的和-3166: 蓝桥杯2023年第十四届省赛真题 摘要:解题思路:注意事项:参考代码:n=int(input())a_list=list(map(int,input().split()))a_list.sort()count=dict()for i in …… 题解列表 2024年03月29日 0 点赞 0 评论 611 浏览 评分:6.0
小白随便写的,记录一下 摘要:```python def missile(li): """ 主要思路:第i个导弹开始的最大拦截数 = i+1后面所有比它小的导弹的最大拦截数 + 1 首先我们需要两个列…… 题解列表 2024年03月29日 0 点赞 0 评论 345 浏览 评分:0.0
100分,两种解法,一种二分法,一种前缀和 摘要:前缀和:N =int(input())c,a,b=list(map(str,input().split()))sum=0j=0k=list()for i in range(0,len(c)): …… 题解列表 2024年03月29日 0 点赞 0 评论 442 浏览 评分:0.0
编写题解 2848: 基因相关性,python超简单 摘要:(python学子仔细读题哦)n = float(input()) DNA1 = input() DNA2 = input() # 比对两条DNA序列 matching_pairs = 0 …… 题解列表 2024年03月29日 0 点赞 0 评论 828 浏览 评分:4.7
101010101010101010101单词翻转 摘要:解题思路:注意事项:参考代码:s=input().split()a=[]for i in range(len(s)): a.append(s[i][::-1])for j in a: pr…… 题解列表 2024年03月29日 0 点赞 0 评论 464 浏览 评分:0.0
利用列表max()函数求最大值 摘要:解题思路:注意事项:参考代码:def m(l): return max(l)l = list(map(float, input().split()))print("%.3f" % m(l))pr…… 题解列表 2024年03月28日 0 点赞 0 评论 549 浏览 评分:9.9
2880: 计算鞍点 摘要:参考代码:arr, arr2 = [], [] for _ in range(5): p1 = list(map(int, input().split())) arr.appen…… 题解列表 2024年03月28日 0 点赞 0 评论 732 浏览 评分:0.0
小白操作解决病历单 摘要:解题思路:无注意事项:101参考代码:c=input()b=[]d=""for i in c: if 'a' <= i <= 'z': …… 题解列表 2024年03月28日 1 点赞 0 评论 378 浏览 评分:0.0
2876: 矩阵交换行 摘要:解题思路:注意事项:参考代码:arr = [] for _ in range(5): p1 = input().split() arr.append(p1) m, n = ma…… 题解列表 2024年03月28日 0 点赞 0 评论 595 浏览 评分:0.0