#B. [GESP202303 一级] 1.每月天数

    Type: Default 1000ms 256MiB

[GESP202303 一级] 1.每月天数

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.

问题描述

小明刚刚学习了每月有多少天, 以及如何判断平年和闰年, 想到可以使用编 程方法求出给定的月份有多少天。你能做到吗?

输入描述

输入一行,包含两个整数,分别表示一个日期的年、月。

输出描述

输出一行,包含一个整数,表示输入月份有多少天。

2022 1
31
2020 2
29

C++ GESP 2023年3月 一级

Not Attended
Status
Done
Rule
OI
Problem
3
Start at
2024-7-19 11:15
End at
2024-7-27 19:15
Duration
200 hour(s)
Host
Partic.
46