NEXT DAY OUTBREAK (Easy)
CodeChefOpen on judge ↗
Your country is suffering from Covid-19. You have data of the last $N$ days. If you consider any one day out of $N$ days, there are $S$ patients suffering from the virus, $R$ patients could recover and $D$ patients died on that day. Analysts from various cities of your country concluded that every day the $S$ is increasing at the rate of $2*x$ , where $x$ is the no of patients suffered on the prev
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