Corona Virus
CodeChefOpen on judge ↗
Corana virus has been one of those pandemic diseases that is disturbing our lives since several days. It all started in some place in China.Consider there are $N$ countries such that there are connected by a path and also assume that the distance between $2$ neighbouring countries is $1$ UNIT. And the time to taken by corona virus to spread from country $U$ to country $V$ (which have direct path
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