АВТ
Language:

Remote Training on Programming

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

1071. Digitals

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

Даны три действительных числа. Возвести в квадрат те из них, значения которых неотрицательны

На входе

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

На выходе

Квадраты неотрицательных чисел и если число отрицательное то вывести их без изменений.

Пример 1. Вход:
2 -3 4
 Выход:
x^2 : 4  z^2 : 16

View Problem Statistics Submit Author/source:
Educational Courses / New problems in testing /
1076. Diferent numbers 1071. 841. Every 3rd row 638. Execute the transposition of the letters english alphabet as shown in example: 641. Find the amount a square all number from 1 before n, n is assigned by user.
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.25 sec.
© Copyright VSTU, AVT, Nosov D.A.