Is this my Birth Year
CodeChefOpen on judge ↗
Mavis is a little vampire living with her family. Mavis is upset because she was born on 29 February which was a leap year. Now she keeps asking her father if a year is her birthyear or not. Her father is a very busy vampire as he has to go hunt for his family. So he wants you to make a program for Mavis. Mavis will enter q number of years and for every year you have to tell if its her birth year
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