两个吃奶一个添下面视频_人妻第一页香蕉网_欧美xxxx少妇_妺妺窝人体色www婷婷

1420 問題 C: Strange Numbers

時間限制: 1s 內存限制: 128MB 提交: 189 解決: 18
題目描述

Given one line of N consecutive natural numbers starts from 0 called A[N], and the target is to give another line of N numbers called B[N], and B[i] is the times that A[i] appears in B[N].
For example, when N=10.the first line of number is:
A: 0 1 2 3 4 5 6 7 8 9
Then, as the description above, the second line of numbers should be:
B: 6 2 1 0 0 0 1 0 0 0
Which B[0]=6 means, A[0] appears 6 times in B,
B[1]=2 means, A[1] appears 2 times in the second line, ... , and so on.
Your task is to give the second line of number B, for each given A.

輸入

The input contains nulti cases, each case consists only one number N (7<N<1000)

輸出

For each test case, output the n numbers in B.

樣例輸入
10
樣例輸出
6 2 1 0 0 0 1 0 0 0
提示
零基礎同學可以先學習視頻課程,包含C/C++、Python、百練、藍橋杯輔導、算法數(shù)據(jù)結構等課程,提供視頻講解以及配套習題,還有老師答疑,點擊這里了解課程詳情

比賽公告

七月月賽  大家加油!

本次月賽獎品高級鼠標一個!