← All problemsSign in

MCL PHASE 1 CHALLENGE 306

Little Jiknu is learning abacus. He learns from his buddy in his abacus class that a solar eclipse happens only in the year when there are 366 days. Being fascinated by space and maths he decides to use his abacus to good use. Help him to find out whether there will be a solar eclipse in a given year. If yes print TRUE , if not FALSE. ###Input: First line is year ###Output: TRUE or

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start