Rohan and new Calendar
CodeChefOpen on judge ↗
Rohan being the Emperor of Sahay-Land, decided to come up with a new calendar to commemorate 50 years of his being in the throne. In this new calendar there would be 20 days (called Alpha - A) in a Beta(B), 18 Betas in a Gamma(G), 20 Gammas in a Delta(D) and 20 Deltas in a Epsilon(E). The present calendar, to mark a date we give the day, then the month, and then the year. Rohan then decided to spe
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