Codeforces962E. Byteland, Berland and Disputed Cities(贪心)
The cities of Byteland and Berland are located on the axis ????????. In addition, on this axis there are also disputed cities, which belong to each of the countries in their opinion. Thus, on the line ???????? there are three types of cities:the citi