3.21 PAT1071 乙级 python(嘻嘻嘻嘻祝我爸生日快乐

小赌怡情

t,n = input().split()
t = int(t)
n = int(n)
for i in range(n):
	lst = [int(j) for j in input().split()]
	if tlst[3] and lst[1]==0) or (lst[0]lst[3] and lst[1]==1) or (lst[0]

需要注意的就是在钱输完以后需要退出程序,不然测试点四会非零返回。

你可能感兴趣的:(PAT,乙级,python)