-->
当前位置:首页 > 题库

PROGRAMMING:Enchanting ice air spirit

Luz5年前 (2021-05-10)题库392
I'm so tired. I'll give you a water topic
Ice air spirit element world - ice system - spirit family - high general level.
The upper part of the body is similar to human form, and the lower part is muddy ice and snow. Ice sky spirit's body is covered with thick ice crystals, which is equivalent to applying skill Ice Armor all the time. It has the ability to control ice higher than any other creature, and its strength can be continuously improved under the cultivation of various polar minerals.
After a long time of fighting, Chu Mu's Moonlight fox has grown into three stages and three levels. However, moonlight fox is only a slave level soul pet after all. In order to become the king of prison island, Chu Mu must capture the general level soul pet. Not long ago, Chu Mu discovered a highly gifted ice air spirit with two stages and three levels. After many days of observation, Chu Mu found that the range of activity of ice sky elves was an isosceles triangle with the bottom n (n is an odd number less than 70) and the height (n + 1) / 2. The smart acmer helps to print out the activity range of the ice air spirit, with "@" for the activity boundary and "~" for the interior.
###Input format:
N (n is an odd number < 70) is input to the end of the file
###Output format:
There is an empty line between every two groups of output of the printed graph
###Input example:
Here is a set of inputs. For example:
```in
seven
nine
eleven
```
###Output example:
The corresponding output is given here. For example:
```out
@
@~@
@~~~@
@@@@@@@
@
@~@
@~~~@
@~~~~~@
@@@@@@@@@
@
@~@
@~~~@
@~~~~~@
@~~~~~~~@
@@@@@@@@@@@
```







answer:If there is no answer, please comment