#P6330. Problem L. Visual Cube
Problem L. Visual Cube
Problem Description
Little Q likes solving math problems very much. Unluckily, however, he does not have good spatial ability. Everytime he meets a 3D geometry problem, he will struggle to draw a picture.
Now he meets a 3D geometry problem again. This time, he doesn't want to struggle any more. As a result, he turns to you for help.
Given a cube with length $a$, width $b$ and height $c$, please write a program to display the cube.
Input
The first line of the input contains an integer $T(1\leq T\leq50)$, denoting the number of test cases.
In each test case, there are $3$ integers $a,b,c(1\leq a,b,c\leq 20)$, denoting the size of the cube.
Output
For each test case, print several lines to display the cube. See the sample output for details.
2
1 1 1
6 2 4
..+-+
././|
+-+.+
|.|/.
+-+..
....+-+-+-+-+-+-+
.../././././././|
..+-+-+-+-+-+-+.+
./././././././|/|
+-+-+-+-+-+-+.+.+
|.|.|.|.|.|.|/|/|
+-+-+-+-+-+-+.+.+
|.|.|.|.|.|.|/|/|
+-+-+-+-+-+-+.+.+
|.|.|.|.|.|.|/|/.
+-+-+-+-+-+-+.+..
|.|.|.|.|.|.|/...
+-+-+-+-+-+-+....