Tam giác pascal

View as PDF

Points: 100 (p) Time limit: 1.0s Memory limit: 256M Input: stdin Output: stdout

Nhập vào số nguyên dương \(n\). In ra tam giác pascal bậc \(n\)

Input

  • Số nguyên dương \(x\) \((1 \leq n \leq 10)\)

Output

  • In ra độ dài của đoạn con tìm được

Example

Test 1
Input
5
Output
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1

Comments

There are no comments at the moment.