Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
133136 叶航帅 09闰年第n个月有多少天 Python3 Accepted 51 MS 3768 KB 148 2025-10-14 21:29:31

Tests(10/10):


Code:

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