把 1 到 n 顺序写一行,再把 n 到 1 逆序写一行。输出两行。
输入一个正整数 n。
按要求输出两行。
4
1 2 3 4 4 3 2 1
1≤n≤30
使用您的 www.mathcoding.online 通用账户