Run ID:142194

提交时间:2026-01-01 16:14:50

a,b,c=input().split() #分割函数,以空格为间隔 a,b,c=int(a),int(b),int(c) t=0 #初始化计数器的值为0 #判断是否是闰年 if (a%4==0 and a%100!=0) or (a%400==0): t+=1 if (b%4==0 and b%100!=0) or (b%400==0): t+=1 if (c%4==0 and c%100!=0) or (c%400==0): t+=1 print(t)