曼哈顿圆圈
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.
题目描述
给定一个奇数 ,假设 等于 。
请输出一个 的字符画。所有到中心点的曼哈顿距离为 的位置都是 *
,其他位置都是 .
。
- 曼哈顿距离:第 行第 列到第 行第 列的曼哈顿距离为
- :表示 的绝对值, 时绝对值就是 ,否则绝对值是 。
输入格式
第一行一个整数 。
输出格式
行 列的字符画。
3
.*.
*.*
.*.
5
..*..
.*.*.
*...*
.*.*.
..*..
数据规模与约定
对于 的数据,。
C++校统测二
- Status
- Done
- Rule
- Ledo
- Problem
- 5
- Start at
- 2024-12-20 14:30
- End at
- 2024-12-28 22:30
- Duration
- 200 hour(s)
- Host
- Partic.
- 12