2766: 甲流疫情死亡率 摘要:解题思路:注意事项:参考代码:x,y=map(int,input().split()) print(f'{y/x*100:.3f}%')…… 题解列表 2024年03月20日 1 点赞 3 评论 823 浏览 评分:7.3
1098: 陶陶摘苹果 摘要:参考代码:arr = list(map(int, input().split())) h = int(input()) count = 0 for i in range(len(arr)): …… 题解列表 2024年03月20日 0 点赞 0 评论 523 浏览 评分:0.0
与指定数字相同的数的个数 摘要:参考代码:N = int(input()) arr = list(map(int, input().split())) m = int(input()) print(arr.count(m))…… 题解列表 2024年03月20日 0 点赞 0 评论 994 浏览 评分:0.0
编写题解2809: 菲波那契数列,python超简单 摘要:# 获取用户输入并转换为整数 k = int(input()) # 检查输入是否为1或2,因为斐波那契数列的前两项都是1 if k == 1 or k == 2: …… 题解列表 2024年03月20日 1 点赞 0 评论 433 浏览 评分:9.9
2828: 与7无关的数 摘要:解题思路:注意事项:参考代码:n = int(input()) sum1 = 0 for x in range(1, n + 1): if x % 7 != 0 and "7" not …… 题解列表 2024年03月19日 0 点赞 0 评论 296 浏览 评分:0.0
2832: 第n小的质数 摘要:参考代码:import math n = int(input()) arr = [] for i in range(2, 100000): for j in range(2, int(…… 题解列表 2024年03月19日 0 点赞 0 评论 342 浏览 评分:9.9
python 2833: 金币 摘要:参考代码:n = int(input()) s = 0 money = 0 flag = n day = n while day > 0: flag -= 1 money…… 题解列表 2024年03月19日 0 点赞 0 评论 202 浏览 评分:0.0
1464: 蓝桥杯基础练习VIP-分解质因数 摘要:解题思路:注意事项:参考代码:nums_p = [] for x in range(2, 10001): for y in range(2, x + 1): if x %…… 题解列表 2024年03月19日 1 点赞 0 评论 311 浏览 评分:0.0
2831: 画矩形 摘要:参考代码:high, wide, s, flag = map(str, input().split()) for i in range(int(high)): for j in range…… 题解列表 2024年03月19日 0 点赞 0 评论 182 浏览 评分:0.0
2830: 数字统计 摘要:参考代码:L, R = map(int, input().split()) s = 0 for i in range(L, R + 1): s += str(i).count('…… 题解列表 2024年03月19日 0 点赞 0 评论 346 浏览 评分:0.0