Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
73478 胡皓宇 08判断是否为闰年 Python3 Wrong Answer 32 MS 3756 KB 186 2024-05-19 09:20:56

Tests(0/11):


Code:

year = int(input()) b = year%400 c = year%4 d = year%100 if b==0 or (c==0 and d!=0): print("{year}Yes") elif c==0 and d==0: print("{year}No") else: print("{year}No")


Run Info:

------Input------
3264
------Answer-----
3264 Yes
------Your output-----
{year}Yes