Simulation 2025-05-24 Leetcode ≈ 755. Pour Water Time Order 2534. Time to Pass a Gate The simulation ends when everyone has entered/exited.Time is placed in the inner loop.