#2599. C++-GESP 2023-09认证二级-编程题01(小杨的X字矩阵)(拓展04-外围为口内围为X)
C++-GESP 2023-09认证二级-编程题01(小杨的X字矩阵)(拓展04-外围为口内围为X)
Background
Description
只形成外围为+围成的口,内围为X(如输入21):
Format
Input
Output
Samples
21
+++++++++++++++++++++
++-----------------++
+-+---------------+-+
+--+-------------+--+
+---+-----------+---+
+----+---------+----+
+-----+-------+-----+
+------+-----+------+
+-------+---+-------+
+--------+-+--------+
+---------+---------+
+--------+-+--------+
+-------+---+-------+
+------+-----+------+
+-----+-------+-----+
+----+---------+----+
+---+-----------+---+
+--+-------------+--+
+-+---------------+-+
++-----------------++
+++++++++++++++++++++
Limitation
1s, 1024KiB for each test case.