#P5716. 【深基3.例9】月份天数
【深基3.例9】月份天数
Problem Description
Given a year and a month, output how many days there are in that month of that year. Leap years must be considered.
Input Format
Input two positive integers, representing the year and the month , separated by a space.
Output Format
Output one line containing one positive integer, indicating how many days there are in that month.
1926 8
31
2000 2
29
Hint
Constraints: , .
Translated by ChatGPT 5