Minimum Transport Cost

ZOJ - 1456