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.|

RGB7031 - Гурвалжны талбай

Гурвалжны гурван тал өгөгдсөн бол талбайг нь ол.

Input

Нэг мөрөнд зайгаар тусгаарлагдан гурвалжны 3 тал бодит тоогоор өгөгдөнө.

Output

Гурвалжны талбайг таслалаас хойш 2 орны нарийвчлалтай дүрсэл.

Example

Input:
3.0 4.0 5.0

Output:
6.00

Нэмсэн: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-06-03 09:25:50
#include<iostream>
#include<cmath>
#include<iomanip>

using namespace std;

int main() {
float a, b, c;
cin >> a >> b >> c;

float p = (a + b + c) / 2;

float s = sqrt(p * (p - a) * (p - b) * (p - c));

cout << fixed << setprecision(2) << s;

return 0;
}
2024-02-18 04:09:40
hairtai hunee ooriin bolgoh 10 arga
chi ygaad unshaad baigaam krashguin baijeej ?
2024-02-05 14:37:32
al garvo
2024-01-16 07:07:55
#include <bits/stdc++.h>
using namespace std;
int main (){
double a, b, c, s, p;
cin >> a >> b >> c;
p = (a + b + c) / 2;
s = sqrt(p*(p - a)*(p - b)*(p - c));
printf("%.2f", s);

return 0;
}

2023-12-18 06:18:55
end tutorial ni baigaa https://www.youtube.com/watch?v=zhciw9OZTM8
2023-11-30 10:56:59
#include<bits/stdc++.h>
using namespace std;
int main(){
float a,b,c,d,p;
cin>>a>>b>>c;
p=(a+b+c)/2;
d=sqrt(p*(p-a)*(p-b)*(p-c));
cout << fixed << setprecision(2) << d;
}

Last edit: 2023-11-30 11:01:09
2023-07-17 10:04:00
#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
// RGB7031 - Гурвалжны талбай
int main() {
float a,b,c,p,s;
cin >> a >> b >> c;
p=(a+b+c)/2;
s=sqrt(p*(p-a)*(p-b)*(p-c));
cout << fixed << setprecision(2) << s;
return 0;
}
2023-06-28 09:36:03
Stop cursing
2023-05-05 08:33:09
U ALL MOTHER FUCKERS
2023-03-13 08:45:21
#include <iostream>
#include <cmath>
#include <iomanip>

using namespace std;

int main() {
double side1, side2, side3, s, area;
cin >> side1 >> side2 >> side3;

s = (side1 + side2 + side3) / 2;
area = sqrt(s * (s - side1) * (s - side2) * (s - side3));

cout << fixed << setprecision(2) << area << endl;

return 0;
}

assbeater420 pisda huul
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.