计算三角形面积
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
【题目描述】
平面上有一个三角形,它的三个顶点坐标分别为(x1, y1), (x2, y2), (x3, y3),那么请问这个三角形的面积是多少,精确到小数点后两位。
【输入】
输入仅一行,包括6个单精度浮点数,分别对应x1, y1, x2, y2, x3, y3。
【输出】
输出也是一行,输出三角形的面积,精确到小数点后两位。
【输入样例】
0 0 4 0 0 3
【输出样例】
6.00
【来源】
一本通在线评测
精英班第一次测试
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 5
- Start at
- 2024-7-22 9:00
- End at
- 2024-7-22 10:00
- Duration
- 1 hour(s)
- Host
- Partic.
- 0