Type: Default 1000ms 256MiB

数的操作1

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.

题目描述

小Y有一个正整数nn,他现在要对这个数进行一些操作,他会找到这个数的所有因子(包括1和它本身),再从中随机选一个xx,然后将nn变成nx\frac{n}{x},求期望需要进行多少次除运算,小Y可以把nn变成11

输入格式

一个数 nn

输出格式

一个浮点数答案,保留三位小数

10
2.667
100
3.342
1000
3.763

数据规模与约定

对于 100%100\% 的数据,0n1050 \le n \le 10^5

概率与期望

Not Claimed
Status
Done
Problem
11
Open Since
2026-1-8 0:00
Deadline
2026-3-31 23:59
Extension
24 hour(s)