B. [GESP样题 六级] 下楼梯

    Type: RemoteJudge 1000ms 512MiB

[GESP样题 六级] 下楼梯

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.

题目背景

对应的选择、判断题:https://ti.luogu.com.cn/problemset/1106

题目描述

顽皮的小明发现,下楼梯时每步可以走 11 个台阶、22 个台阶或 33 个台阶。现在一共有 NN 个台阶,你能帮小明算算有多少种方案吗?

输入格式

输入一行,包含一个整数 NN

输出格式

输出一行一个整数表示答案。

4
7
10
274

提示

对全部的测试点,保证 1N601 \leq N \leq 60

【蒙青创】2025年CSP-J/S 冲刺【线性DP】

Not Claimed
Status
Done
Problem
31
Open Since
2025-9-13 0:00
Deadline
2025-10-25 23:59
Extension
24 hour(s)