#876. C++-向量-使用vector数据结构来解决杨辉三角的题目

    ID: 876 Type: Default 1000ms 256MiB Tried: 3 Accepted: 2 Difficulty: 10 Uploaded By: Tags>CSP厦门信息学厦门创客大赛C++项目信息科技特长生向量

C++-向量-使用vector数据结构来解决杨辉三角的题目

Background

Description

C++-向量-使用vector数据结构来解决杨辉三角的题目

打钱出杨辉三角的直角三角形和等腰三角形。

image

Format

Input

Output

Samples

10
001
001   001
001   002   001
001   003   003   001
001   004   006   004   001
001   005   010   010   005   001
001   006   015   020   015   006   001
001   007   021   035   035   021   007   001
001   008   028   056   070   056   028   008   001
001   009   036   084   126   126   084   036   009   001
                           001
                        001   001
                     001   002   001
                  001   003   003   001
               001   004   006   004   001
            001   005   010   010   005   001
         001   006   015   020   015   006   001
      001   007   021   035   035   021   007   001
   001   008   028   056   070   056   028   008   001
001   009   036   084   126   126   084   036   009   001

Limitation

1s, 1024KiB for each test case.