Problem 1118 · Easy

Number of Days in a Month

Find how many days a given month has in a given year under Gregorian leap-year rules. A month strip shows the days being counted.

Open the interactive visualisation