HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


Hypotenuse

Section problems

• G. Loudcats
• G. Suffixgame
• G. Робот
• Goal Parser
• H. Message
• H. Odd
• H. Санта Клаус
• Hello World!
• Hypotenuse
• I. Python
• I. tic-tac-toe
• I. Подстрока
• IOI 2014 Gandola
• Integer to English words / Санды т...
• J. Rag
• J. Вода
• K. Vampire

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 100/100/100/100 ms. Memory limit 65000/65000/65000/65000 Kb.

Write a program to calculate hypotenuse of triangle according to the given cathetuses a and b.

Input
Two numbers a and b

Output
Hypotenus length (9 digits after point)

Examples

standart inputstandart output
4 5 6.403124237
3.4 6.4 7.247068373
Для отправки решений необходимо выполнить вход.

www.contester.ru