#Lutece0995. 对顶三角形

对顶三角形

Migrated from Lutece 995 对顶三角形

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

请观察样例,按照输入数据生成对应的对顶三角形。

Input

有多组测试数据。输入的第一行是整数TT0<T1000<T\le 100),表示测试数据的组数。每一组测试数据只有一行,分别是三角形的腰长nn和构成三角形的字符chch,两者之间有一个空格。该行没有其它多余的符号。0<n1000<n\le 100

Output

对应每组输入,输出一个对顶三角形。每组数据输出后应有一个空行。

Samples

2
3 *
5 @
*    *
**  **
******
**  **
*    *

@        @
@@      @@
@@@    @@@
@@@@  @@@@
@@@@@@@@@@
@@@@  @@@@
@@@    @@@
@@      @@
@        @

Resources

wxiaoping C语言练习