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-12-16 09:32:01
#include <iostream>
#include<bits/stdc++.h>
#include <cmath>
using namespace std ;
int main (){
float a,b,c;
cin>>a>>b ;
c=sqrt(a*a+b*b);
cout<<fixed << setprecision(1) << c;
return 0 ;
} huul
2024-12-11 09:28:01
#include<stdio.h>
#include<math.h>
int main(){
float a,b,c;
scanf("%f %f",&a,&b);
c=sqrt(pow(a,2)+pow(b,2));
printf("%.1f",c);
return 0;
}
// AMJILT
2024-12-09 11:43:43
#include <bits/stdc++.h>

using namespace std;

int main() {
float a, b ,c;
cin >> a >> b;
c = sqrt(a * a + b * b);
cout << fixed << setprecision(1) << c;
return 0;
}
2024-12-09 11:43:37
#include <bits/stdc++.h>

using namespace std;

int main() {
float a, b ,c;
cin >> a >> b;
c = sqrt(a * a + b * b);
cout << fixed << setprecision(1) << c;
return 0;
}
2024-12-09 11:43:30
#include <bits/stdc++.h>

using namespace std;

int main() {
float a, b ,c;
cin >> a >> b;
c = sqrt(a * a + b * b);
cout << fixed << setprecision(1) << c;
return 0;
}
2024-12-09 11:43:25
#include <bits/stdc++.h>

using namespace std;

int main() {
float a, b ,c;
cin >> a >> b;
c = sqrt(a * a + b * b);
cout << fixed << setprecision(1) << c;
return 0;
}
2024-12-09 11:43:09
#include <bits/stdc++.h>

using namespace std;

int main() {
float a, b ,c;
cin >> a >> b;
c = sqrt(a * a + b * b);
cout << fixed << setprecision(1) << c;
return 0;
}
2024-12-06 02:48:48
#include <stdio.h>

int main()
{
int a,b;
scanf("%d",&a);
if(a%2){
printf("sorog");
}
else
printf("tegsh");
return 0;
}
2024-12-05 04:59:17
#include <iostream>
#include <cmath>

int main() {
double a, b;


std::cin >> a >> b;


double c = std::sqrt(a * a + b * b);


std::cout << std::fixed;
std::cout.precision(1);
std::cout << c << std::endl;

return 0;
}
huul2
2024-06-03 09:25:13
#include<iostream>
#include<cmath>
#include<iomanip>

using namespace std;

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