A Wired Mess
You are assigned to identify and label the wires, without disturbing the laid cable. Your objective is to label the individual wires with the same label at both ends. You have a few short wires, a device that tells you if a wire circuit is complete, and writing materials to label the wires.
What is the shortest distance (in km) that you will need to walk in order to correctly identify and label each wire?
(Assume that your starting position is at one of the telephone exchanges.)