← All problemsSign in

Question 2

Question 1 During the COVID-19 lockdown state, the Police are trying their best to keep people from going out by arresting those who violate lockdown. But there are many who escape from them. Consider a day where z people went out of their homes. It was noted that for every x(x>0) people who were caught by the Police, y(y>0) people escape. Once people escape, the Police tighten their patrol.

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start