2818: 分离整数的各个数位 摘要:解题思路:注意事项:参考代码:a = input() for i in a[::-1]: print(i,end=' ')代码2:a = input() a = a[::…… 题解列表 2023年02月22日 0 点赞 0 评论 604 浏览 评分:9.0
2817: 级数求和 摘要:注意事项:参考代码:Sn = n = 0 k = int(input()) while True: n = n + 1 Sn = Sn + 1/n if Sn > 题解列表 2023年02月21日 0 点赞 0 评论 467 浏览 评分:2.0
2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:s = 0 n = int(input()) l = list(map(int,input().split())) for i in l: a = i %…… 题解列表 2023年02月21日 0 点赞 0 评论 447 浏览 评分:9.9
2820: 含k个3的数(python) 摘要:解题思路:注意事项:参考代码:m,k = input().split() y = "NO" if int(m) % 19 == 0 and m.count("3") == int(k): …… 题解列表 2023年02月21日 0 点赞 0 评论 571 浏览 评分:9.9
2819: 数字反转(python) 摘要:解题思路:注意事项:参考代码:n = int(input()) if n < 0: print("-",end = "") n = -n n = str(n)[::-1] …… 题解列表 2023年02月21日 0 点赞 0 评论 473 浏览 评分:0.0
2815: 求特殊自然数(python) 摘要:解题思路:注意事项:参考代码:for a in range(1,7): for b in range(0,7): for c in range(1,7): …… 题解列表 2023年02月21日 0 点赞 1 评论 555 浏览 评分:9.9
2990:python十进制到八进制(超级简单两行!!!) 摘要: n = int(input()) // 只用了两行,直接发布题解c语言网不让。 // 这系统嫌我太简洁。 // 真服了。 // 只能多几行废话了。 // 凑活看吧。 …… 题解列表 2023年02月21日 0 点赞 0 评论 520 浏览 评分:9.9
1332: 津津的储蓄计划(python) 摘要:解题思路:注意事项:参考代码:m = 0 x = 0 month = 1 isTrue = True while True: try: n = int(input(…… 题解列表 2023年02月21日 0 点赞 0 评论 766 浏览 评分:9.9
编写题解 1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:a = list(map(int,input().split(" ")))b = int(input())b = b+30count = 0for i in range…… 题解列表 2023年02月21日 0 点赞 0 评论 364 浏览 评分:2.0
就是通过分支选择来写 摘要:解题思路:注意事项:“整数”还有一个长边和短边的顺序好像也要调整一下参考代码:def inchjudge1(n): lside=1189 #初始设置边长 rside=841 …… 题解列表 2023年02月20日 0 点赞 0 评论 537 浏览 评分:9.0