시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
1 초 (추가 시간 없음) | 256 MB | 31 | 16 | 12 | 50.000% |
You are given three numbers $n, k$ and $x$. Construct an array $A$ with the following properties:
Single line of input contains three numbers $n$ $(1 \leq n \leq 1000)$, $k$ $(0 \leq k \leq \frac{n\cdot (n-1)}{2})$, $x$ $(2\leq x \leq 1000)$.
In single line of output print $n$ integers, elements of array $A$. In case there is no array with needed properties, print $-1$
3 2 5
1 8 2