CHEF AND PANDEMIC
CodeChefOpen on judge ↗
CHEF AND PANDEMIC In Chefland there has been a virus outbreak and the cities (numbered from 1 to N) have been affected from it. Some cities were developed enough and made use of online technology to improve their economy while others suffered and experienced a loss. You are given an array E where each E[i] is the initial economy of city i. As the president of Chefland , u want to answer to que
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