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 评论 230 浏览 评分: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 评论 292 浏览 评分: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 评论 164 浏览 评分: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 评论 242 浏览 评分: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 评论 129 浏览 评分: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 评论 276 浏览 评分:0.0
2827: 计算多项式的导函数 摘要:参考代码:n = int(input()) if n == 0: print(0) quit() arr = list(map(int, input().split())) …… 题解列表 2024年03月19日 0 点赞 0 评论 281 浏览 评分:9.9
2826: 雇佣兵 摘要:参考代码:m, n, x = map(int, input().split()) a = 0 while x > 0: x -= 1 a += n if a >= m… 题解列表 2024年03月19日 0 点赞 0 评论 307 浏览 评分:0.0
报时助手——基础题目 摘要:解题思路:很简单,分情况讨论即可注意事项:参考代码:h, m = map(int, input().split()) # 时分 M = {0: 'zero', 1: '…… 题解列表 2024年03月19日 0 点赞 0 评论 368 浏览 评分:9.9
蓝桥杯-回形取数【最容易理解、最笨的方法】 摘要:解题思路:设置了h_u, h_d, v_l, v_r 四个参数,分别代表水平上边,水平下边,垂直左边,垂直右边当遍历垂直左边的时候,起始位置为h_u,结束位置为n - h_d当遍历水平下边的时候,起始…… 题解列表 2024年03月19日 0 点赞 0 评论 406 浏览 评分:0.0