АВТ
Language:

Remote Training on Programming

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

1030. A11в

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

Даны действительные числа x, y, z.Если числа x и y одновременно равны 0, то вывести вместо ответа b ERROR.

Вычислить a и b по следующим формулам:


Input

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

Output

Два действительных числа - ответ

Sample

InputOutput
Пример 1. Вход:
13 20 15
Пример 1. Выход:
1.26167e+007 0.000116261

View Problem Statistics Submit Author/source:
Educational Courses / New problems in testing /
1016. A11b 1030. 1051. A21 1038. A258 1022. A260B
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.078 sec.
© Copyright VSTU, AVT, Nosov D.A.