[vijos1780][NOIP2012] driving travel

Description Xiao A and Xiao B decide to travel during the holiday. They number the cities they want to go from 1 to N, and the smaller cities are in the west of the larger cities. It is known that the altitude of each city is different from each other. Remember that the altitude of city I is \ (h_i \), and the distance between city \ (I \) and ...

Added by HeyRay2 on Wed, 24 Nov 2021 22:22:12 +0200