시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 512 MB 0 0 0 0.000%

문제

Little Q likes solving math problems very much. Unluckily, however, he does not have a good spatial ability. Every time 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 anymore. As a result, he turns to you for help.

Given a rectangular parallelepiped with length $a$, width $b$, and height $c$, please write a program to display it.

입력

The first line contains an integer $T$ ($1 \leq T \leq 50$), the number of test cases. For each test case:

The only line contains three integers $a$, $b$, $c$ ($1 \leq a,b,c \leq 20$), denoting the dimensions of the rectangular parallelepiped.

출력

For each test case, print several lines to display the rectangular parallelepiped. See the sample output for details.

예제 입력 1

2
1 1 1
6 2 4

예제 출력 1

..+-+
././|
+-+.+
|.|/.
+-+..
....+-+-+-+-+-+-+
.../././././././|
..+-+-+-+-+-+-+.+
./././././././|/|
+-+-+-+-+-+-+.+.+
|.|.|.|.|.|.|/|/|
+-+-+-+-+-+-+.+.+
|.|.|.|.|.|.|/|/|
+-+-+-+-+-+-+.+.+
|.|.|.|.|.|.|/|/.
+-+-+-+-+-+-+.+..
|.|.|.|.|.|.|/...
+-+-+-+-+-+-+....