The input of the program will be a sequence like this:
And the numbers mean:
1st position X to begin
2nd position Y to begin
3rd maxXCapacity of circuit
4th maxYCapacity of circuit
The output of the program must represent in two dimensions the tour
of the light between all mirrors system. And the only way of laser to
reach the detector is in the same direction it has begun. For the entry
proposed the output has to be:
NO IMAGE YET
For the output represent the straight segments with symbols: if
horizontal and if vertical
Input
'>4/3\6/3\1' 2 4 8 5
Output
/------\ | | | | | | \->----/