chef and lockdown
CodeChefOpen on judge ↗
Because of corona there is lockdown outside in chefs city. chef is willing to go outside of home for some work . but because of lockdown chef will go out if there is safe atmosphere outside ,otherwise he will not go outside. The condition for safe atmosphere is number of corona negative patients should be greater than or equal to number of corona positive patients. we have given
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