Problems
10070 - Fizz : The Cutter boy
SUBMIT PROBLEM

Fizz : The Cutter boy

Time Limit: 0.5 sec

 

The Problem

Hi guys, you know Mustafizur, right? Bangladeshi handsome young man but very miser. Miser in giving runs to the batsman.

Now in this IPL , there is a problem . There are some mistakes in economy rate calculation.

So, Mustafiz needs you to write a program for him , so that he can know what’s his economy rate is !

 

The Input

There will be multiple test cases. The first line of each test case will contain an integer t (t<=10). The next t line will contain two integers R and b. Here R (0<=R<=1000) is the runs given by mustafizur and B (0<=B<=1000) is the number of over. Here B is a float number. The portion of B after the decimal point denotes the number of ball. Such that, if B= 1.3, that means 1 over and 3 ball. Input will be terminated by 0.

 

The Output

Output the economy rate (two values after decimal point) in a single line for each test case and a new line after test case ends.

 

Sample Input

2

3 2

5 1.2

2

1 0

0 1

0

 

Sample Output

1.50

3.75

 

0.00

0.00

 

[Note: 1 over = 6 balls.]

 

 

 

 

Aracari contest [School & College Level]

Problem Setter: Eftekher Ahmed Aqib