Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
83699 丁俊杰 09闰年第n个月有多少天 Python3 Wrong Answer 35 MS 3776 KB 179 2024-07-14 16:32:00

Tests(1/10):


Code:

n=int(input()) list1=[1,3,5,7,8,10,12] list2=[4,6,9,11] if n in list1: print(31) elif n in list2: print(30) elif n==2: print(29) else: print("Invalid")


Run Info:

------Input------
0
------Answer-----
Invalid.
------Your output-----
Invalid