繁花似锦分身乏术列今年初发的风格的放过他过分 摘要:解题思路:无注意事项:无参考代码:g=input()g=int(g)if g>=10 and g<=99: print("1")else: print("0")…… 题解列表 2024年07月16日 0 点赞 0 评论 623 浏览 评分:9.9
关于Python的基本输入输出 摘要:import sys sys.set_int_max_str_digits(100000000) while True: try: n = int(input()) …… 题解列表 2024年07月15日 0 点赞 0 评论 281 浏览 评分:0.0
python优雅解法-回文数组-贪心 摘要:n = int(input()) nums = list(map(int, input().split())) result = [nums[n - i - 1] - nums[i] for i …… 题解列表 2024年07月14日 2 点赞 0 评论 822 浏览 评分:8.4
高精度计算用Python爽到爆 摘要:from decimal import Decimal, getcontext # 设置小数点后的精度 getcontext().prec = 500 # 输入两个浮点数并转换为Decimal类…… 题解列表 2024年07月14日 0 点赞 0 评论 278 浏览 评分:0.0
大数计算用Python爽到爆 摘要:import sys sys.set_int_max_str_digits(50000000)# 增加到50000000位 n=int(input()) s=1 for i in range(…… 题解列表 2024年07月14日 0 点赞 0 评论 269 浏览 评分:9.9
一行代码解决 摘要:print(len([i for i in list(map(int, input().split())) if i & (i - 1) == 0]) if input() else 0)…… 题解列表 2024年07月14日 5 点赞 3 评论 1584 浏览 评分:9.0
对方干净利落的特点 摘要:解题思路:无注意事项:无参考代码:print("**************************")print("Hello World!")print("********************…… 题解列表 2024年07月11日 2 点赞 0 评论 811 浏览 评分:9.9
趣味儿童与人格不好 摘要:解题思路:无注意事项:无参考代码:b=input()b=int(b)e=0for i in range(2,b): if b%i==0: e=1 breakif e=…… 题解列表 2024年07月11日 0 点赞 0 评论 241 浏览 评分:0.0
时间和哥哥回归回归回归回归回归健康的规划 摘要:解题思路:无注意事项:无参考代码:m=input()m=int(m)r=[]j=0for w in range(2,m+1): j=1 r=[] r.append(1) …… 题解列表 2024年07月10日 0 点赞 0 评论 276 浏览 评分:0.0
球弹跳高度 摘要:解题思路:累加高度注意事项:参考代码:h=int(input())m=hfor i in range(10): m=m+h h=h/2print('%g'%m)print(…… 题解列表 2024年07月09日 0 点赞 0 评论 362 浏览 评分:2.0