# Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

My friend, Qbaidul claimed again that he can do math. He knows that no one going to believe him this time too. So, he did some math and gave you a challenge to do math like him. He calculated the average of two numbers and told you to do so.

You will be given two numbers, Just find the average.

Input will contain `$T$`

(`$1 \le T \le 100$`

) test cases.

Each test case will contain two numbers, `$A$`

and `$B$`

(`$1 \le A, B \le 10^{18}$`

).

For each test case, print the average. Print one digit after decimal point.

Input | Output |
---|---|

2 2 1 2 2 | 1.5 2.0 |

69% Solution Ratio

iammarajulEarliest,

iammarajulFastest, 0.0s

Shanto_NoorLightest, 0 B

SifatTheCoderShortest, 143B

Login to submit