locomotive专题

POJ 1976 A Mini Locomotive dp问题

挺简单的一道题 代码里有注释 A train has a locomotive that pulls the train with its many passenger coaches. If the locomotive breaks down, there is no way to pull the train. Therefore, the office of railroads decid