【例23.2】 这个月有几天

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.

说明

输入一个年份和一个月份,输出该月的天数。

输入格式

两个整数yy(1600y30001600≤y≤3000)和mm (1m121≤m≤12),分别表示年份和月份。

输出格式

一个整数,表示该月的天数。

样例

1900 2
28

2026暑假C++训练(袁)

Not Claimed
Status
Done
Problem
32
Open Since
2026-7-14 0:00
Deadline
2026-8-31 23:59
Extension
24 hour(s)