10048_Eming

2022-5-16 18:16| 发布者: Hocassian| 查看: 94| 评论: 0|原作者: 肇庆学院ACM合集

摘要:
C:\Users\Administrator\Downloads\2019-10-12-10-14-3-89504371780000-Problem List-采集的数据-后羿采集器.html

Pro.ID

10048

Title

Eming

Title链接

http://10.20.2.8/oj/exercise/problem?problem_id=10048

AC

223

Submit

350

Ratio

63.71%

时间&空间限制

  • Time Limit: 200/100 MS (Java/Others)     Memory Limit: 65536/32768 K (Java/Others)
  • 描述

    Eming is a contest hold by WHUACM training team. The aim is to select new members of the team.

    Usually, the first problem is a very simple problem such as "a+b problem". But this time, Xioumu is tired of this kind of problem, he decide to solve "a and b problem".

    Give you the result of a + b and a2 - b2, please output the result of a and b.

    输入

    There are several test cases. For each case there are two double numbers indicating a+b and a2-b2. You may assume that a+b will not be zero.

    输出

    Description

    Eming is a contest hold by WHUACM training team. The aim is to select new members of the team.

    Usually, the first problem is a very simple problem such as "a+b problem". But this time, Xioumu is tired of this kind of problem, he decide to solve "a and b problem".

    Give you the result of a + b and a2 - b2, please output the result of a and b.

    Input

    There are several test cases. For each case there are two double numbers indicating a+b and a2-b2. You may assume that a+b will not be zero.

    Output

    For each case please output the result of a and b in one line, rounded to 2 decimal places.

    Sample Input

    3 -3

    Sample Output

    1.00 2.00

    样例输入

    3 -3

    样例输出

    1.00 2.00

    提示

    作者


    路过

    雷人

    握手

    鲜花

    鸡蛋

    最新评论

    返回顶部