DeadZombies
CodeChefOpen on judge ↗
Zombies have taken over the earth. But humanity hasn't given up. Humans are living underground and fighting Zombies. Few Zombies have entered the tunnels underground. Humans are killing zombies, which are coming out of the tunnel at both ends. There are '$n$' zombies inside the tunnel of '$ (n+1) $' length. The zombies are numbered from $1$ to $n$ and are initially at positions starting from pos
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