#include<stdio.h>
main()
{
int a,b;
while(scanf("%d%d",&a,&b)!=EOF)
{

	getchar();
	printf("%.3f\n",(float)a*(float)b/2);
}
}

  

三角形面积


Time limit: 1000MS    Memory limit: 32768K 
Total Submit: 4384    Accepted: 1721 

已知三角形的底和高,求出三角形的面积。

每行输入底和高

每行输出三角形的面积。精确到三位小数。

Sample Input

1 2 
3 4
5 6

Sample Output

1.000
6.000
15.000

Source:Author(Source): _Bee_sharp 
posted on 2011-11-20 17:30  C's  阅读(179)  评论(0编辑  收藏  举报