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

CP005 - Ромбо

Ромбын диагоналууд өгөгдсөнөөр талбайг ол.

Input

Ромбын диагоналууд өгөгдөнө.

Output

Ромбын талбайг таслалаас хойш 1 оронгийн нарийвчлалтай хэвлэнэ.

Example

Input:
44 6

Output:
132.0

Нэмсэн:munkhbat
Огноо:2015-02-12
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:Бүгд дараах хэлүүдээс бусад: ASM64 NCSHARP JS-MONKEY JULIA PYPY3

hide comments
2023-06-15 11:18:44
#include<bits/stdc++.h>
using namespace std;
main(){
int a,b;
float c;
cin>>a>>b;
c=a*b/2;
printf("%.1f",c);
}
2022-10-31 05:55:42
#include <stdio.h>

int main()
{
float a,b,c;
scanf("%f",&a);
scanf("%f",&b);
c=(a*b)/2;
printf("%.1f\n",c);

return 0;
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.