Problem Description
Given n(1≤n≤20), output the first n rows of Pascal's triangle.
If you do not know what Pascal's triangle is, you can observe the sample and look for the pattern.
6
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
Hint
Translated by ChatGPT 5