反质数
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.
反质数
对于任何正整数 ,都有自己的约数。现将其约数的个数记作 。例如 ,。
如果某个正整数 满足:,都有 ,则称 为反质数。例如,整数 等都是反质数。
现在给定一个数 ,你能求出不超过 的最大的反质数么?
输入格式
一个数 。
输出格式
不超过 的最大的反质数。
样例
输入
1000
输出
840
2025周赛第一场
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 9
- Start at
- 2025-3-9 14:00
- End at
- 2025-3-9 18:00
- Duration
- 4 hour(s)
- Host
- Partic.
- 38