Among a bunch of fruits, we have recieved an information that more than P% and less than Q% of the total fruits are rotten. The task is to determine the minimum possible number of total fruits.
The first line of the input contains an integer T denoting the total number of test cases. Then T test cases follow. Each test case consists of a single line containing two space separated numbers, Q followed by P.
Corresponding to each test case print the desired output in a single line.
0.01 ≤ P, Q ≤ 99.99. Numbers are given with 2 digits precision.
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.