#30413: Python思路


011104@stu.nknush.kh.edu.tw (KaiYuanee)


設一個變數=((y%4==0)-(y%100==0)+(y%400==0))。

0是平年,1是閏年。