HOME
PROBLEM
STATUS
CONTEST
练习
积分
趣味
正式
DIY
RANK
荣誉榜
活跃榜
现役榜
组队榜
DISCUSS
CHALLENGE
MALL
Register
Login
tetrahedron
TimeLimit:1000MS MemoryLimit:65536KB
64-bit integer IO format:
%I64d
未提交
|
登录后收藏
Problem Description
Given four points ABCD, if ABCD is a tetrahedron, calculate the inscribed sphere of ABCD.
Input
Multiple test cases (test cases $\leq 100$).
Each test cases contains a line of 12 integers $[-1e6, 1e6]$ indicate the coordinates of four vertices of ABCD.
Input ends by EOF.
Output
Print the coordinate of the center of the sphere and the radius, rounded to 4 decimal places.
If there is no such sphere, output "O O O O".
SampleInput
0 0 0 2 0 0 0 0 2 0 2 0 0 0 0 2 0 0 3 0 0 4 0 0
SampleOutput
0.4226 0.4226 0.4226 0.4226 O O O O
Submit
题目统计信息
详细
总AC数
2
通过人数
2
尝试人数
4
总提交量
4
AC率
50.00%
标签——2169
name
rating
几何
1266
AC该题后可以添加标签
贴完标签可以获得20ACB。
并且可以获得本题所有提交代码查看权限。
点击标题可以显示标签。
如果你还没认真思考过这题,请不要查看标签
如果您已经通过了该题,请务为该题贴上标签
出处
多校联盟第一场
T^T Online Judge
[
BUG反馈
] [
FAQ
] [
闽ICP备17026590号-1
]
当前版本:
3.24
系统时间: