SP4324 EVERLAST - The fate of the pineapple
Description
In order to help terraform Mars, astronauts have brought (among other things) N (0
Input Format
The first line is the number of test cases (no more than 10^5). Each of the following lines describes a test case. The integers N and K and the decimal number P are separated by single spaces.
Output Format
There will be one line for each test case. Each line will have the probability of eventual survival in percent, to two decimals, followed by the percent sign.