|
||||||||||
Problem L. Visual CubeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 2590 Accepted Submission(s): 1358 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. Sample Input
Sample Output
Source | ||||||||||
|