#P2532. [AHOI2012] 树屋阶梯

    ID: 1546 远端评测题 1000ms 125MiB 尝试: 0 已通过: 0 难度: 6 上传者: 标签>模拟高精度2012各省省选安徽卡特兰,Catalan

[AHOI2012] 树屋阶梯

Description

Input Format

A positive integer NN, representing the height of the staircase.

Output Format

A positive integer, representing the number of ways to build it. Note: The number of ways may be very large.

3
5

Hint

  • For 40%40\% of the testdata, 1N201 \le N \le 20.
  • For 80%80\% of the testdata, 1N3001 \le N \le 300.
  • For 100%100\% of the testdata, 1N5001 \le N \le 500.

Translated by ChatGPT 5