Dangerous Virus
CodeChefOpen on judge ↗
###PROBLEM STATEMENT Our Chef works in an operation to find number of covid affected patients. The covid affected patients increase day after day . The Corona Virus spreads to many people in a day. Our Chef needs to know the number of covid affected on a given day. - The Chef had to answer $N$ queries each at a time - The corona virus spread from one affected person to $X$ healthy person
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