#2592. C++-GESP 2023-09认证二级-编程题01(小杨的X字矩阵)(拓展01-右斜线)
C++-GESP 2023-09认证二级-编程题01(小杨的X字矩阵)(拓展01-右斜线)
Background
Description
只形成右斜线(如输入5,输入的N为奇数):
Format
Input
Output
Samples
5
+----
-+---
--+--
---+-
----+
9
+--------
-+-------
--+------
---+-----
----+----
-----+---
------+--
-------+-
--------+
Limitation
1s, 1024KiB for each test case.