← All problemsSign in

Eat Code Sleep Repeat

There is nothing more to a competitive programmer’s life than eating , coding and sleeping. Having done this for the entire lockdown now, has made your life very Humdrum. So now you want to change your lifestyle for the coming D days. On each day 1 ≤ i ≤ D , you will choose ONE of the following three activities and will do only that: - Binge watch Netflix and chill, and gain xi pleasure points.

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