#D. 计算月份

    Type: Default 1000ms 256MiB

计算月份

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

5.11模拟测试

Not Attended
Status
Done
Rule
Ledo
Problem
6
Start at
2025-5-11 19:15
End at
2025-5-11 20:15
Duration
1 hour(s)
Host
Partic.
8