题解列表

筛选

1099: 校门外的树

摘要:参考代码:L, M = map(int, input().split()) arr = ['t' for _ in range(L + 1)] for _ in range(M):……

2837: 年龄与疾病

摘要:参考代码:n = int(input()) arr = list(map(int, input().split())) s1, s2, s3, s4 = 0, 0, 0, 0 for i in ……

2836: 数组逆序重放

摘要:参考代码:n = int(input()) print(' '.join(list(map(str, input().split()))[::-1]))……

2835: 计算书费

摘要:参考代码:arr = map(int, input().split()) price = [28.9, 32.7, 45.6, 78, 35, 86.2, 27.8, 43, 56, 65] pr……

2766: 甲流疫情死亡率

摘要:解题思路:注意事项:参考代码:x,y=map(int,input().split())  print(f'{y/x*100:.3f}%')……

1098: 陶陶摘苹果

摘要:参考代码:arr = list(map(int, input().split())) h = int(input()) count = 0 for i in range(len(arr)): ……

2828: 与7无关的数

摘要:解题思路:注意事项:参考代码:n = int(input()) sum1 = 0 for x in range(1, n + 1):     if x % 7 != 0 and "7" not ……

2832: 第n小的质数

摘要:参考代码:import math n = int(input()) arr = [] for i in range(2, 100000):     for j in range(2, int(……