P5732 [Basics 5. Practice 7] Pascal's Triangle

Description

Given $n(1\le n\le20)$, 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.

Input Format

N/A

Output Format

N/A

Explanation/Hint

Translated by ChatGPT 5