Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
143443 丁俊杰 09闰年第n个月有多少天 Python3 Accepted 31 MS 3760 KB 120 2026-01-15 13:27:42

Tests(10/10):


Code:

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