【入门】沙漏
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
赵老师最近在编一个操作系统,正好编到鼠标的繁忙状态,需要一个沙漏符号,正好大家都在学C++,你的任务就是帮赵老师编一个程序打印一个沙漏符号。
输入格式
一个整数n,符号的行数(保证n是大于1的奇数)
输出格式
沙漏符号,使用“*”打印
样例
5
*****
***
*
***
*****
国庆七天乐
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 12
- Start at
- 2024-10-2 12:15
- End at
- 2024-10-8 0:15
- Duration
- 132 hour(s)
- Host
- Partic.
- 72