摘要: # #24点游戏,输入一串数字,在运算符满足的情况下,判断是否答案是否等于24.注意/满足整数输出 # import math # while 1: # n=int(input()) # number= list(map(int,input().split())) # """ # 10 # 9+3+ 阅读全文
posted @ 2020-07-13 17:24 waterxx 阅读(118) 评论(0) 推荐(0)
摘要: 题目描述: 题目描述: n = int(input()) a = [0] * 4 #完成4个人 m = 0 i = 0 while i < (n + m): i += 1 if (i % 7 == 0) or (str(7) in list(str(i))): a[i % 4 - 1] += 1 m 阅读全文
posted @ 2020-07-13 17:21 waterxx 阅读(247) 评论(0) 推荐(0)