THE BOSTON VIRUS
CodeChefOpen on judge ↗
There's a new deadly virus in Boston city. Fortunately the WHO found a vaccine and tried to give it to as many people as possible. The vaccine works in such a way that any person infected with a virus cannot infect the one who's taken a vaccine. WHO dropped vaccines from a plane in a straight line. (See Under input for more information). The US Military had to execute all the remaining ones since
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