2189 问题 S: diamond

时间限制: 1s 内存限制: 128MB 提交: 145 解决: 93
题目描述
There was a girl whose name is Crystal, and she love diamond shape so much. One day, she learned how to use computer. Without hesitation, she ask you to write a program to draw diamond for her.
输入
a single number from the user n, where n is an odd number between 3 and 19
输出
a diamond that is n characters wide and high
样例输入
3
样例输出
 *
***
 *
提示
零基础同学可以先学习视频课程,包含C/C++、Python、百练、蓝桥杯辅导、算法数据结构等课程,提供视频讲解以及配套习题,还有老师答疑,点击这里了解课程详情

比赛公告

4月1日愚人节比赛(一)4月1日愚人节比赛(一)4月1日愚人节比赛(一)