Introduction - If you have any usage issues, please Google them yourself
travel home to a car driving from city A to city B (located starting at the fuel tank is empty). Given between the two cities from dis, automobile fuel tank capacity c per liter petrol traveling distance d, PFS along n, i PFS from the starting point of the distance d [i] and the station liter gasoline prices p [i] i = 1, 2, ..., n. Located d [1] = 0