← All problemsSign in

CRAZY LAZY

Problem description Lazy (Yes, you heard it right), the smurf, likes to sleep. He is a Smurf who is usually awfully lazy (and yes, just like his name), which at times causes problems with his fellow Smurfs, though sometimes his habits can prove to be a valuable asset. But he can't do anything about this habit. Instead, he try to find ways that enhance his "quality".This time he has a strategy tha

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