Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7030 - Гипотенуз

Тэгш өнцөгт гурвалжны катетууд нь өгөгдсөн. Гипотенузыг ол. Бодит тоон бодлого.

Input

Катетууд нэг мөрөнд зайгаар тусгаарлагдан өгөгдөнө.

Output

Гипотенуз. Таслалаас хойш нэг оронгийн нарийвчлалтай хэвлэ.

Example

Input:
3.0 4.0

Output:
5.0

Нэмсэн:Bataa
Огноо:2013-01-15
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2024-05-16 04:31:09
⠄⠄⠄⢰⣧⣼⣯⠄⣸⣠⣶⣶⣦⣾⠄⠄⠄⠄⡀⠄⢀⣿⣿⠄⠄⠄⢸⡇⠄⠄
⠄⠄⠄⣾⣿⠿⠿⠶⠿⢿⣿⣿⣿⣿⣦⣤⣄⢀⡅⢠⣾⣛⡉⠄⠄⠄⠸⢀⣿⠄
⠄⠄⢀⡋⣡⣴⣶⣶⡀⠄⠄⠙⢿⣿⣿⣿⣿⣿⣴⣿⣿⣿⢃⣤⣄⣀⣥⣿⣿⠄
⠄⠄⢸⣇⠻⣿⣿⣿⣧⣀⢀⣠⡌⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠿⣿⣿⣿⠄
⠄⢀⢸⣿⣷⣤⣤⣤⣬⣙⣛⢿⣿⣿⣿⣿⣿⣿⡿⣿⣿⡍⠄⠄⢀⣤⣄⠉⠋⣰
⠄⣼⣖⣿⣿⣿⣿⣿⣿⣿⣿⣿⢿⣿⣿⣿⣿⣿⢇⣿⣿⡷⠶⠶⢿⣿⣿⠇⢀⣤
⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣽⣿⣿⣿⡇⣿⣿⣿⣿⣿⣿⣷⣶⣥⣴⣿⡗
⢀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠄
⢸⣿⣦⣌⣛⣻⣿⣿⣧⠙⠛⠛⡭⠅⠒⠦⠭⣭⡻⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠄
⠘⣿⣿⣿⣿⣿⣿⣿⣿⡆⠄⠄⠄⠄⠄⠄⠄⠄⠹⠈⢋⣽⣿⣿⣿⣿⣵⣾⠃⠄
⠄⠘⣿⣿⣿⣿⣿⣿⣿⣿⠄⣴⣿⣶⣄⠄⣴⣶⠄⢀⣾⣿⣿⣿⣿⣿⣿⠃⠄⠄
⠄⠄⠈⠻⣿⣿⣿⣿⣿⣿⡄⢻⣿⣿⣿⠄⣿⣿⡀⣾⣿⣿⣿⣿⣛⠛⠁⠄⠄⠄
⠄⠄⠄⠄⠈⠛⢿⣿⣿⣿⠁⠞⢿⣿⣿⡄⢿⣿⡇⣸⣿⣿⠿⠛⠁⠄⠄⠄⠄⠄
⠄⠄⠄⠄⠄⠄⠄⠉⠻⣿⣿⣾⣦⡙⠻⣷⣾⣿⠃⠿⠋⠁⠄⠄⠄⠄⠄⢀⣠⣴
⣿⣿⣿⣶⣶⣮⣥⣒⠲⢮⣝⡿⣿⣿⡆⣿⡿⠃⠄⠄⠄⠄⠄⠄⠄⣠⣴⣿⣿⣿
2024-05-07 04:44:18

































































































2024-05-06 06:46:14
ene yaaaaaaaag mönnnn

Last edit: 2024-05-06 06:46:52
2024-01-16 06:59:40
#include <bits/stdc++.h>
using namespace std;
int main (){
double a, b, c;
cin >> a >> b;
c = sqrt(a * a + b * b);
cout << fixed << setprecision(1) << c;


return 0;
}

2023-12-03 06:35:27
#include <bits/stdc++.h>
using namespace std;
int main(){
double a, b, ans;
cin>>a>>b;
ans=pow(a, 2)+pow(b, 2);
ans=sqrt(ans);
cout<<fixed;
cout<<setprecision(1);
cout<<ans;
return 0;
} huul alnuudaa
2023-09-26 05:12:25
#include<bits/stdc++.h>
using namespace std;

int main()
{
float m, n, b=0;
scanf("%f %f" ,&m ,&n);

b=sqrt(m*m+(n*n));
printf("%.1lf" ,b);

return 0;
}
2023-09-22 06:05:29
:)




2023-03-13 08:42:32
#include <iostream>
#include <cmath>
#include <iomanip>

using namespace std;

int main() {
double leg1, leg2, hypotenuse;
cin >> leg1 >> leg2;

hypotenuse = sqrt(leg1*leg1 + leg2*leg2);

cout << fixed << setprecision(1) << hypotenuse << endl;

return 0;
}

assbeater120
2023-02-17 08:16:36
#include<bits/stdc++.h>
using namespace std;

int main()
{
float m, n, b=0;
scanf("%f %f" ,&m ,&n);

b=sqrt(m*m+(n*n));
printf("%.1lf" ,b);

return 0;
}
2023-02-14 07:19:44
#include <iostream>
#include <bits/stdc++.h>

using namespace std;

int main() {
double a,b,s;
cin>>a>>b;
s=sqrt(a*a+b*b);
cout<<fixed<<setprecision(1)<<s;
return 0;
}
huulval huul suguudaa
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.