Tap here to switch tabs
Problem
Submissions

Problem: Number of Days in a Month

med
30 min
Try to solve the Number of Days in a Month problem.

Statement

Given two integers year and month, return the number of days in that given month of the specified year.

Constraints:

  • 1583≤1583 \leq year ≤2100\leq 2100

  • 1≤1 \leq month ≤12\leq 12

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Number of Days in a Month

med
30 min
Try to solve the Number of Days in a Month problem.

Statement

Given two integers year and month, return the number of days in that given month of the specified year.

Constraints:

  • 1583≤1583 \leq year ≤2100\leq 2100

  • 1≤1 \leq month ≤12\leq 12