[UVA][ST線段樹][TLE邊緣, 待修] 11402 - Ahoy, Pirates!
Problem H
Ahoy, Pirates!
Input: Standard
Input
Output: Standard
Output
In the ancient pirate ages, the Pirate
Land was divided into two teams of
pirates, namely, the Buccaneer and the Barbary pirates.
Each pirate’s team was not fixed, som...