АВТ
Language:

Remote Training on Programming

Problems On-line status Contests FAQ
For authors:
Register  ||  Login
 
Hello, Guest! Login or register.

950. A(15)

Time Limit: 1 seconds
Memory Limit:65536KB
Points:2
View Problem Statistics Submit Problem added Undefined

Даны гипотенуза и катет прямоугольного треугольника.

Найти второй катет и радиус вписанной окружности.

Input

два числа с и a, разделенные пробелами и/или переводами строк

Output

два вещественных числа - ответ, с точностью до 0.01

Sample

InputOutput
Пример 1. Вход:
5 3.0
Пример 1. Выход:
4 1

View Problem Statistics Submit Author/source:
Educational Courses / New problems in testing /
1079. 329 950. 980. A-73 1026. A107 1017. A114a
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.
time generating 0.64 sec.
© Copyright VSTU, AVT, Nosov D.A.