No to corruption
CodeChefOpen on judge ↗
Dystopians have realised that corruption is the root cause for all their problems. They have decided to launch their mass protest against corruption by blocking one of the highways in the Dystopian capital. To make sure that the government notices their agitation, they want to make sure that the Prime Minister is also affected by the blocking. Their aim is to force the Prime Minister to choose an
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.
Sign in to chat with the tutor and save your progress.
Sign in to start