#P3766. 核心密码B
核心密码B
Description
Let denote the number of different ways can be expressed as a perfect -th power (). Compute .
For example, , so .
Input Format
Multiple queries. The first line contains an integer indicating the number of queries.
Each of the next lines contains an integer , asking for .
Output Format
Output lines. Each line contains a real number representing , with fourteen decimal places.
Due to precision error, your answer will be accepted if the absolute difference from the standard answer is within .
2
5
15
0.25000000000000
0.48611111111111
Hint
For of the testdata, .
For of the testdata, , .
For of the testdata, , .
Translated by ChatGPT 5
京公网安备 11011102002149号