题面:
Teleportation
time limit per test : 15 seconds
memory limit per test : 1024 megabytes
input : standard input
output : standard output
Problem Description
One of the farming chores Farmer John dislikes the most is hauling around lots of cow manure. In order to streamline this process, he comes up with a brilliant invention: the manure teleporter! Instead of hauling manure between two points in a cart behind his tractor, he can use the manure teleporter to instantly transport manure from one location to another.
Farmer John’s farm is built along a single long straight road, so any location on hi