Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
91676 | 张泽一 | 判断闰年I | Python3 | Accepted | 32 MS | 3760 KB | 284 | 2024-09-22 11:53:34 |
s=input() s=int(s) if s%100==0: if s % 400 > 0: print("not leap year") elif s % 400 == 0: print("leap year") else: pass elif s%100>0: if s % 4 > 0: print("not leap year") elif s % 4 == 0: print("leap year")