← All problemsSign in

Compile Run Submit

KBG is a pro coder so he never has to debug his code. So his coding workflow consists of simple 3 operations "compile → run → submit ". Now KBG is given $n$ codes and he has $n$ supercomputers so he will run each code on $1$ supercomputer. He likes parallelism so he will work on multiple codes. He can start working on multiple codes but at a single time, he will do only $1$ operation. F

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