← All problemsSign in

I Can Use Both Hands!

CodeChefRating 948Open on judge ↗

Chef has a special ability: he can use both his left and right hands equally well, and at the same time! To put this ability into practice, Chef decides that he's going to write a novel with his left hand, while writing code with his right. Chef needs $L$ minutes to write a page with his left hand, and $R$ minutes to write a line of code with his right. Chef defines his *satisfaction* to be th

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