Logo
(追記) (追記ここまで)

20602번 - Visual Cube 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 512 MB26191875.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

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

힌트

출처

Camp > Petrozavodsk Programming Camp > Summer 2020 > Day 3: Songyang Chen Contest 3 B번

(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /