码迷,mamicode.com
首页 > 其他好文 > 详细

华中农业大学预赛 A

时间:2016-05-15 18:02:41      阅读:133      评论:0      收藏:0      [点我收藏+]

标签:

Description

      Diao Ze likes math very much, especially problems about equation. Now there is a problem for Diao Ze, but he is too lazy to solve it and he asks you for help:

      Giving two integers a  and b  , which satisfied the equation

                                                   技术分享

 

Then your task is to calculate the value of x in the equation.

 

Input

    The first line contains an integer T , indicating the total number of test cases. In each test case there is only one line contains two positive integers 技术分享 and技术分享

Output

    For each test case, output the answer in one line. The answer should be rounded to 2 digits after the decimal point.

Sample Input

2
1 2
3 2

Sample Output

2.00
0.67

华中农业大学预赛 A

标签:

原文地址:http://www.cnblogs.com/yinghualuowu/p/5495622.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!