PRANAV (PK) THE BOMBERMAN
CodeChefOpen on judge ↗
$Pranav$ (PK) has planted a $Bomb$ inside a train and the $speciality$ of this bomb is it blow's off if the train stops at any $two$ $consecutive$ stations. Unfortunately Pranav's girlfriend came to know about his act and she informed $Rohit$ who is the driver of that train. $Rohit$ wants to take stop at $M$ stations out of $N$ stations. Help $Rohit$ to save the passengers. ###Input: - First l
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