← All problemsSign in

All New CodeChef

CodeChefRating 354Open on judge ↗

*CodeChef has just finished [migrating](https://discuss.codechef.com/t/migration-to-new-judging-system/109033) to a new judging system.* Chef would like to test the performance of the new judging system. Chef has some code for an older task, which he knows ran in $X$ milliseconds on the old judging server. On resubmitting the code to the new judging server, it ran in $Y$ milliseconds. Which

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