Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
73453 胡皓宇 09闰年第n个月有多少天 Python3 Wrong Answer 34 MS 3760 KB 125 2024-05-19 09:02:14

Tests(0/10):


Code:

a = [1,31,29,31,30,31,30,31,31,30,31,30,31] n = int(input()) if 1<=n<=12 : print("a"[n]) else: print("Invalid.")


Run Info:

------Input------
3
------Answer-----
31
------Your output-----