计算月份

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

高桥想在下个月去玩,但是他不知道下个月是哪一个月。
输入一个月份,输出当前月份的下一个月。

输入格式

输入一行一个正整数n,1<=n<=12。

输出格式

输出当前月份的下一个月。

1
2
12
1

AI算法训练-Python

Not Attended
Status
Done
Rule
Ledo
Problem
24
Start at
2025-5-17 18:58
End at
2025-5-18 6:58
Duration
12 hour(s)
Host
Partic.
11