Sponsored
Use these hints if you're stuck. Try solving on your own first.
Sum up the number of days for the years before the given year.
Handle the case of a leap year.
Find the number of days for each month of the given year.
Solve with full IDE support and test cases