Run ID:67631
提交时间:2024-03-17 11:31:44
def leyear(y): if y%400==0 or (y%4==0 and y%100!=0): return True else: return False n_list=input().split() m=0 for i in range(len(n_list)): if leyear(int(n_list[i])): m+=1 print(m)