杨辉三角
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
杨辉三角
杨辉三角大家都很熟悉 x,y位置可以通过C(x,y) x是行y是列从0开始
当然你也可以通过(x,y)=(x-1,y-1)+(x,y-1)来计算
杨辉三角
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 5 1
.....
Input
我们需要输出的位置x,y(0<y<=x<=25) 此处x,y从1开始记数
Output
Samples
1 1
1
3 2
2
Limitation
1s, 1024KiB for each test case.
校赛新手热身(一)
- Status
- Done
- Rule
- XCPC
- Problem
- 8
- Start at
- 2026-10-31 14:30
- End at
- 2026-11-6 20:30
- Duration
- 150 hour(s)
- Host
- Partic.
- 77