codeforces Round #259(div2) A解题报告
程序员文章站
2022-04-22 09:33:04
...
Twilight Sparkle once got a crystal from the Crystal Mine. A crystal of size n ( n is odd; n ??1 ) is an n ?×? n matrix with a diamond inscribed into it. You are given an odd integer n . You need to draw a crystal of size n . The diamond
Twilight Sparkle once got a crystal from the Crystal Mine. A crystal of size n (n is odd; n?>?1) is an n?×?n matrix with a diamond inscribed into it.
You are given an odd integer n. You need to draw a crystal of size n. The diamond cells of the matrix should be represented by character "D". All other cells of the matrix should be represented by character "*". Look at the examples to understand what you need to draw.
推荐阅读
-
【解题报告】Codeforces Round #409 (rated, Div. 2, based on VK Cup 2017 Round 2)
-
B. Amr and Pins (Codeforces Round #287 (div2))
-
Codeforces Round #264 (div2)B. Caisa and Pylons
-
Codeforces Round #277.5 (Div. 2) 解题报告_html/css_WEB-ITnose
-
codeforces Round #260(div2) D解题报告_html/css_WEB-ITnose
-
B. Friends and Presents(Codeforces Round #275(div2)
-
Codeforces Round #669 Div2 前三题
-
codeforces Round #237(div2) D解题报告
-
Codeforces Round #259 (Div. 2)
-
codeforces Round #261(div2) C解题报告_html/css_WEB-ITnose