Batman and Joker
CodeChefOpen on judge ↗
Joker has planned something explosive for Batman. He has successfully set a bomb in Batman's car (The Batmobile). The bomb will detonate exactly $T$ seconds after it is activated. When Batman decided to go on a trip and started his car (at $T=0$), the bomb was activated. Upon realizing that the bomb was activated, he quickly decided to go to the Bomb Diffusion Squad. The Squad and Batman's house (
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