文件名称:1403
-
所属分类:
- 标签属性:
- 上传时间:2014-11-25
-
文件大小:8.66kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
给出三维空间上的三个点,计算以这三个点为顶点的三角形的面积。 输入的第一行包含一个整数T (T > 0),表示一共有T组测试数据。
每组数据占三行,每行各描述了一个点的坐标。点的坐标会以x y z的形式给出,表示这个点的坐标为(x, y, z),其中x, y, z均为[-100, 100]范围内的浮点数。
对于每组测试数据,输出三角形的面积(和标准答案的误差不超过10-6即可)。
-Given three points on three-dimensional space, in order to calculate the three-point vertex of the triangle area. The first line of input contains an integer T (T> 0), T represents a total set of test data. Each set of data representing three rows, each row describes each coordinate of a point. Coordinates of the point will be given in the form xyz, represents coordinates of this point is (x, y, z), where x, y, z are floating point numbers in the range [-100, 100]. For each test, the output area of the triangle (and standard error of the answer can not exceed 10-6).
每组数据占三行,每行各描述了一个点的坐标。点的坐标会以x y z的形式给出,表示这个点的坐标为(x, y, z),其中x, y, z均为[-100, 100]范围内的浮点数。
对于每组测试数据,输出三角形的面积(和标准答案的误差不超过10-6即可)。
-Given three points on three-dimensional space, in order to calculate the three-point vertex of the triangle area. The first line of input contains an integer T (T> 0), T represents a total set of test data. Each set of data representing three rows, each row describes each coordinate of a point. Coordinates of the point will be given in the form xyz, represents coordinates of this point is (x, y, z), where x, y, z are floating point numbers in the range [-100, 100]. For each test, the output area of the triangle (and standard error of the answer can not exceed 10-6).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Untitled1.c
Untitled1.exe
Untitled1.o
Untitled1.exe
Untitled1.o
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
