- 0
- 0
- 约4.38千字
- 约 7页
- 2026-05-26 发布于广东
- 举报
2026年3月青少年软件编程C++等级考试五级真题(含答案)
一、单选题(共10题,共20分)。
1.快速幂算法的核心思想?()。
A.分治法,将幂运算分解为更小的子问题。
B.枚举法,逐一相乘。
C.递归法,无终止条件。
D.动态规划,存储所有中间结果。
标准答案:A。
2.斐波那契数列的递推公式为f(n)=f(n-1)+f(n-2),f(1)=1,f(2)=1,则f(6)的值?()。
A.5
B.8
C.13
D.21
标准答案:B。
3.以下哪个问题最适合用贪心算法求解?()。
A.01背包问题
B.活动选择问题
C.
您可能关注的文档
- 2026年3月青少年软件编程C++等级考试二级真题(含答案和解析-在末尾).docx
- 2026年3月青少年软件编程C++等级考试二级真题(含答案-在末尾).docx
- 2026年3月青少年软件编程C++等级考试六级真题(含答案-在末尾).docx
- 2026年3月青少年软件编程C++等级考试三级真题(含答案-在末尾).docx
- 2026年3月青少年软件编程C++等级考试四级真题(含答案-在末尾).docx
- 2026年3月青少年软件编程C++等级考试五级真题(含答案-在末尾).docx
- 2026年3月青少年软件编程C++等级考试一级真题(含答案和解析-在末尾).docx
- 2026年3月青少年软件编程C++等级考试一级真题(含答案-在末尾).docx
- 2026年3月青少年软件编程C++等级考试二级真题(含答案).docx
- 2026年3月青少年软件编程C++等级考试二级真题(含答案和解析).docx
原创力文档

文档评论(0)