#808. 对称数列 (课程7)
对称数列 (课程7)
说明
输入一个正整数N,打印一个对称数列,从1到N,在从N到1。例如: N=4时,输出:1 2 3 4 3 2 1
输入格式
第一行1个整数N,范围在[1,100]。输出格式
一行,2N-1个整数。21 2 1
21 2 1
By signing up a 大沥中心 universal account, you can submit code and join discussions in all online judging services provided by us.