1719: Recamán - CCF-GESP2024年12月四级C++
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:5
Solved:3
Description

Input
第一行,一个正整数 n。
Output
一行, n 个空格分隔的整数,表示 Recamán 数列的前 n 项从小到大排序后的结果。
Sample Input Copy
5
Sample Output Copy
1 2 3 6 7