摘要:
from itertools import permutations n1 = input("") n2 = input("") n3 = input("") n4 = input("") n = n1+n2+n3+n4 sum = 1 for i in n: sum *= eval(i) if s 阅读全文
posted @ 2020-03-28 22:20
liuchun玲
阅读(142)
评论(0)
推荐(0)
摘要:
n=eval(input()) for k in range(n): a=eval(input()) if a%2!=0: min=max=0 else: j=a/4 i=a%4/2 min=i+j max=a/2 print("%d %d"%(min,max)) 阅读全文
posted @ 2020-03-28 22:19
liuchun玲
阅读(92)
评论(0)
推荐(0)
摘要:
import turtle class Stack: def __init__(self): self.items = [] def isEmpty(self): return len(self.items) == 0 def push(self, item): self.items.append( 阅读全文
posted @ 2020-03-28 22:17
liuchun玲
阅读(80)
评论(0)
推荐(0)

浙公网安备 33010602011771号