Test the Year
CodeChefOpen on judge ↗
Problem Description Ram has birthday on Feb 29 .So he wants to know in which year he can celebrate his birthday. We add a Leap Day on February 29, almost every four years. The leap day is an extra day and we add it to the shortest month of the year, February. Task: You are given the year, you have to check whether the given year is leap year or not.Help Ram in finding his birthday years. Inp
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start