Help C5 | ||||||
|
||||||
Description | ||||||
Hello, I’m Sea5, and you can call me C5 instead. I want a program which can sign my name automatically. And my brothers, C0, C1, C2, C3, C4, C6, C7, C8, each of them wants one as well. Can you help us? | ||||||
Input | ||||||
First line is the number of test cases T(T<=8). T lines follow, each line includes an integer N(N<=7), and you should help C(N) to sign his name. |
||||||
Output | ||||||
C0’s signature is ‘C’. When you draw C(N)’s name, you should print the name using C(N-1)’s name as its element, and using the following format to draw it. *XX X** *XX (X is the element, * is blank space) And please don’t print extra spaces at the end of line. For example, C1’s name should be *CC *CC C C** *CC But not *CC (I use * to show you where are spaces.) |
||||||
Sample Input | ||||||
3 0 1 2 |
||||||
Sample Output | ||||||
C 代码: #include<iostream> |