[GESP202403 五级] B-smooth 数
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.
题目描述
小杨同学想寻找一种名为 -smooth 数的正整数。
如果一个正整数的最大质因子不超过 ,则该正整数为 -smooth 数。小杨同学想知道,对于给定的 和 ,有多少个不超过 的 -smooth 数。
输入格式
第一行包含两个正整数 和 ,含义如题面所示。
输出格式
输出一个非负整数,表示不超过 的 -smooth 数的数量。
10 3
7
提示
数据规模与约定
子任务 | 得分 | ||
---|---|---|---|
对全部的测试数据,保证 。
2024~2025第二学期入门选修课期末考
- Status
- Done
- Rule
- IOI
- Problem
- 6
- Start at
- 2025-6-13 16:15
- End at
- 2025-6-13 17:15
- Duration
- 1 hour(s)
- Host
- Partic.
- 19