Question: 3 . ( 1 2 pts . ) There are ( m ) mice and ( n ) holes on the

3.(12 pts.) There are \( m \) mice and \( n \) holes on the ground of a warehouse; each is represented with a distinct 2D \((x, y)\) coordinates. A cat is coming and all mice are running to try to hide in a hole. Each hole can hide at most \( k \) mice. All mice run at the same velocity \( v \). A mouse is eventually safe if it reaches a hole (with at most \( k \) mice including itself) in \( s \) seconds. Design a polynomial-time algorithm (in \( m \) and \( n \)) to find the maximum number of mice that can be safe. Hint: reduce this problem to a network flow problem.
3 . ( 1 2 pts . ) There are \ ( m \ ) mice and \

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!