Python简单思路,小学都能看懂 摘要:```pythonday = int(input())coin = 0k = 0 #整段天数total = 0while total +(k + 1) …… 题解列表 2026年03月22日 0 点赞 0 评论 80 浏览 评分:10.0
Python最简单方法,3行搞定 摘要:```pythonM = int(input())nums = list(map(int,input().split()))print(max(nums) - min(nums))…… 题解列表 2026年03月19日 0 点赞 0 评论 94 浏览 评分:10.0
###傻瓜办法### 摘要:解题思路:注意事项:参考代码:注意*解包列表,使其纯净输出,否则会带有引号。print(*data[max_idx])data = [] &nbs…… 题解列表 2026年03月14日 1 点赞 0 评论 149 浏览 评分:10.0
用match case写 摘要:解题思路:注意事项:除法取的整除//参考代码:a,b,c=input().split()a=int(a)b=int(b)match c: case "+"…… 题解列表 2026年03月13日 1 点赞 0 评论 89 浏览 评分:10.0
数学思维处理 摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split())if (a**2+b**2)**0.5<=2**0.5:pr…… 题解列表 2026年03月12日 1 点赞 0 评论 74 浏览 评分:10.0
用2行代码解决 摘要:解题思路:注意事项:参考代码:num = list( map(int,input( ).split( ) ))print(' '.join( map(str,sorted( num))…… 题解列表 2026年03月09日 0 点赞 0 评论 179 浏览 评分:10.0
#与圆相关的计算,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
30阶乘数列最优解 摘要:解题思路:注意事项:参考代码:a = 0b = 1for i in range(1, 31): b *= i a += bprint(f"…… 题解列表 2025年12月10日 1 点赞 0 评论 265 浏览 评分:10.0
孩子们,这是题解,What can i say! 摘要:解题思路:注意事项:参考代码:while True: try: n=int(input()) …… 题解列表 2025年12月05日 0 点赞 0 评论 235 浏览 评分:10.0