Problem Description
Loading...
Problem Analysis
The problem says sorting is not required —
in fact, the output follows the order in which each region first appears.
So we can open an extra array to keep track of that.
cpp
| |
The problem says sorting is not required —
in fact, the output follows the order in which each region first appears.
So we can open an extra array to keep track of that.
| |
Loading...