2890: 细菌的繁殖与扩散 摘要:解题思路:注意事项:参考代码:count,day = map(int,input().split())matrix = [[0]*9 for _ in range(9)]dx = [-1,-1,-1,…… 题解列表 2026年02月10日 0 点赞 0 评论 238 浏览 评分:0.0
2888: 图像模糊处理 摘要:解题思路:注意事项:题目要求舍入到最接近的整数,应用round参考代码:m,n = map(int,input().split())mt = [list(map(int,input().split()…… 题解列表 2026年02月10日 0 点赞 0 评论 254 浏览 评分:0.0
2887: 变幻的矩阵 摘要:解题思路:注意事项:参考代码:n= int(input())m = [list(map(str,input().split())) for _ in range(n)]cm = [list(map(s…… 题解列表 2026年02月09日 0 点赞 0 评论 83 浏览 评分:0.0
2879: 错误探测 摘要:解题思路:注意事项:参考代码:pn = int(input())pm = []for i in range(pn): t = list(map(int,input().spl…… 题解列表 2026年02月09日 0 点赞 0 评论 88 浏览 评分:0.0
同行列对角线的格子 摘要:解题思路:注意事项:参考代码:N,x,y = map(int,input().split())for i in range(1,N+1): print('('…… 题解列表 2026年02月09日 0 点赞 0 评论 80 浏览 评分:0.0
字符串最大跨距 摘要:解题思路:注意事项:参考代码:s,s1,s2 = input().split(',')s1index = s.find(s1)s2index = s.rfind(s2)if s1ind…… 题解列表 2026年02月08日 0 点赞 0 评论 66 浏览 评分:0.0
2865: 紧急措施 摘要:解题思路:注意事项:参考代码:email = input().strip()n = int(input())empty = Truefor i in range(n): ac…… 题解列表 2026年02月08日 0 点赞 0 评论 69 浏览 评分:0.0
棋盘问题3037:python 摘要:解题思路:注意事项:参考代码:n,k=map(int,input().split())b=[]while n!=-1 and k!=-1: a=[]  …… 题解列表 2026年02月06日 0 点赞 0 评论 80 浏览 评分:0.0
一点点思路 摘要:解题思路:注意事项:参考代码:n=int(input())a=[]for i in range(1,n+1): a.append(i)cnt=0while len(a)>…… 题解列表 2026年02月05日 0 点赞 0 评论 111 浏览 评分:0.0
用列表和for遍历 摘要:解题思路:注意事项:参考代码:def move(): a=int(input()) b=list(map(int,input().split()))…… 题解列表 2026年02月01日 0 点赞 0 评论 133 浏览 评分:0.0