#与圆相关的计算,python 摘要:解题思路:注意事项:参考代码:r = float(input())pi = 3.14159print(f"{2*r:.4f} {2*pi*r:.4f} {pi*r*r:.4f}")…… 题解列表 2026年03月06日 2 点赞 0 评论 177 浏览 评分:10.0
巧妙运用模运算 摘要:解题思路:规律:如果(a - b) % 3 == 1→ 前者赢如果(a - b) % 3 == 2→ 后者赢如果(a - b) % 3 ==…… 题解列表 2026年02月26日 1 点赞 0 评论 82 浏览 评分:10.0
1127: C语言训练-尼科彻斯定理 摘要:解题思路:注意事项:参考代码:n = int(input())m = n**3l = []if m % 2 == 1: k = m//n k = k…… 题解列表 2026年02月11日 0 点赞 0 评论 338 浏览 评分:0.0
1754: 字符串排序 摘要:解题思路:注意事项:参考代码:try: while True: # 读取字符串个数  …… 题解列表 2026年02月11日 0 点赞 0 评论 259 浏览 评分:0.0
编写题解 2900: 螺旋加密 摘要:解题思路:注意事项:参考代码:d = input().split()if(len(d)>3): for i in range(3,len(d)): &nbs…… 题解列表 2026年02月10日 0 点赞 0 评论 258 浏览 评分:0.0
2899: 蛇形填充数组 摘要:解题思路:注意事项:参考代码:n = int(input())m = [[0]*n for _ in range(n)]c = 1for k in range(2*n-1): …… 题解列表 2026年02月10日 0 点赞 0 评论 261 浏览 评分:0.0
2891: 矩阵剪刀石头布 摘要:解题思路:注意事项:参考代码:from copy import deepcopyr,c,day = map(int,input().split())matrix = [[i for i in inpu…… 题解列表 2026年02月10日 1 点赞 0 评论 235 浏览 评分:0.0
2890: 细菌的繁殖与扩散 摘要:解题思路:注意事项:参考代码:count,day = map(int,input().split())matrix = [[0]*9 for _ in range(9)]dx = [-1,-1,-1,…… 题解列表 2026年02月10日 0 点赞 0 评论 246 浏览 评分:0.0
2888: 图像模糊处理 摘要:解题思路:注意事项:题目要求舍入到最接近的整数,应用round参考代码:m,n = map(int,input().split())mt = [list(map(int,input().split()…… 题解列表 2026年02月10日 0 点赞 0 评论 265 浏览 评分: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 评论 94 浏览 评分:0.0