Gamma Ray and his collection of art

Input

The input of the program will be a sequence like this:
And the numbers mean:

Output

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

Problem information

Author: HP CodeWars

Generation: 2026-01-25T15:15:01.629Z

© Jutge.org, 2006–2026.
https://jutge.org