1777Area Ratio

1777   Area Ratio

题目描述

To make things easier, WishingBone decides to put this simple geometry problem at the beginning. Given a triangle, what is the ratio of the area of its inscribed circle to that of its circum circle?

输入格式:

9 integers x1 y1 z1 x2 y2 z2 x3 y3 z3 on one line (-1000 <= x, y, z <= 1000), the three coordinates of the triangle. The three coordinates will not appear collinear.

Process to the end of file.

输出格式:

One ratio per line, exact to three digits to the right of the decimal point.

输入样例 复制
0 0 0 0 0 1 0 1 0
输出样例 复制
0.172

说明

2
2
通过提交
时空限制2000ms/64mb
题目来源
评测方式在线评测
题目类型
难        度