luogu#P1920. 成功密码
成功密码
Background
void_rank borrowed someone else's book to read. Originally, they wanted to slack off by reading a magazine, but accidentally picked up the wrong one and ended up with a high school mathematics magazine called "Success Password," which their advisor described as a "side path." With poor math skills, void_rank really cannot handle these strange problems using mathematical methods, so they came to ask you.
Problem Description
Given a real number and a positive integer , compute:
Input Format
One line containing two numbers .
Output Format
Output one number representing the answer.
Print the result with decimal places.
1 1
1.0000
Hint
For of the testdata, .
For of the testdata, , , and has at most decimal places.
Translated by ChatGPT 5