OpenJudge - 03:Magic Sequencehttp://noi.openjudge.cn/english/03/
03:Magic Sequence
总时间限制:
1000ms
内存限制:
65536kB
描述
Find a sequence of N numbers. Each number is equal to the count of (its index minus 1) in the sequence.
寻找一个N个数的数列。每个数等于数列中其下标减一的个数。
输入
One positive integer N (N <= 10).
一个不超过10的正整数。
输出
N lines: the i-th line contains one integer indicating the i-th number in the sequence.
N行:第i行包含一个整数表示数列中的第i个数。
样例输入
4
样例输出
1 2 1 0