NEPAL TST DAY 2 PROBLEM 2
by Tony_stark0094, Apr 12, 2025, 8:37 AM
Kritesh manages traffic on a
grid consisting of 2025 unit squares. Within each unit square is a car, facing either up, down, left, or right. If the square in front of a car in the direction it is facing is empty, it can choose to move forward. Each car wishes to exit the
grid.
Kritesh realizes that it may not always be possible for all the cars to leave the grid. Therefore, before the process begins, he will remove
cars from the
grid in such a way that it becomes possible for all the remaining cars to eventually exit the grid.
What is the minimum value of
that guarantees that Kritesh's job is possible?


Kritesh realizes that it may not always be possible for all the cars to leave the grid. Therefore, before the process begins, he will remove


What is the minimum value of
