1027: 打印十字图
Memory Limit:512 MB
Time Limit:1000.000 S
Judge Style:Text Compare
Creator:
Submit:3
Solved:2
Description
小明为某机构设计了一个十字型的徽标(并非红十字会啊),如下所示:
..$$$$$.. ..$...$.. $$$.$.$$$ $...$...$ $.$$$$$.$ $...$...$ $$$.$.$$$ ..$...$.. ..$$$$$..
对方同时也需要在电脑dos窗口中以字符的形式输出该标志,并能任意控制层数,该图层数为1。
Input
输入描述:
一个正整数 n (n<30) 表示要求打印图形的层数。
一个正整数 n (n<30) 表示要求打印图形的层数。
Output
输出描述:
对应包围层数的该标志。
Sample Input Copy
8
Sample Output Copy
..$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$..
..$...............................$..
$$$.$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.$$$
$...$...........................$...$
$.$$$.$$$$$$$$$$$$$$$$$$$$$$$$$.$$$.$
$.$...$.......................$...$.$
$.$.$$$.$$$$$$$$$$$$$$$$$$$$$.$$$.$.$
$.$.$...$...................$...$.$.$
$.$.$.$$$.$$$$$$$$$$$$$$$$$.$$$.$.$.$
$.$.$.$...$...............$...$.$.$.$
$.$.$.$.$$$.$$$$$$$$$$$$$.$$$.$.$.$.$
$.$.$.$.$...$...........$...$.$.$.$.$
$.$.$.$.$.$$$.$$$$$$$$$.$$$.$.$.$.$.$
$.$.$.$.$.$...$.......$...$.$.$.$.$.$
$.$.$.$.$.$.$$$.$$$$$.$$$.$.$.$.$.$.$
$.$.$.$.$.$.$...$...$...$.$.$.$.$.$.$
$.$.$.$.$.$.$.$$$.$.$$$.$.$.$.$.$.$.$
$.$.$.$.$.$.$.$...$...$.$.$.$.$.$.$.$
$.$.$.$.$.$.$.$.$$$$$.$.$.$.$.$.$.$.$
$.$.$.$.$.$.$.$...$...$.$.$.$.$.$.$.$
$.$.$.$.$.$.$.$$$.$.$$$.$.$.$.$.$.$.$
$.$.$.$.$.$.$...$...$...$.$.$.$.$.$.$
$.$.$.$.$.$.$$$.$$$$$.$$$.$.$.$.$.$.$
$.$.$.$.$.$...$.......$...$.$.$.$.$.$
$.$.$.$.$.$$$.$$$$$$$$$.$$$.$.$.$.$.$
$.$.$.$.$...$...........$...$.$.$.$.$
$.$.$.$.$$$.$$$$$$$$$$$$$.$$$.$.$.$.$
$.$.$.$...$...............$...$.$.$.$
$.$.$.$$$.$$$$$$$$$$$$$$$$$.$$$.$.$.$
$.$.$...$...................$...$.$.$
$.$.$$$.$$$$$$$$$$$$$$$$$$$$$.$$$.$.$
$.$...$.......................$...$.$
$.$$$.$$$$$$$$$$$$$$$$$$$$$$$$$.$$$.$
$...$...........................$...$
$$$.$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.$$$
..$...............................$..
..$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$..