QOJ.ac

QOJ

Limite de temps : 1.0 s Limite de mémoire : 32 MB Points totaux : 100 Hackable ✓

#12060. 简单几何题

Statistiques

设 $ABCD$ 是一个四面体,已知 $DA = a, DB = b, DC = c, \angle BDC = \alpha, \angle ADC = \beta, \angle ADB = \gamma$。

你需要计算四面体 $ABCD$ 的内切球半径。

输入格式

第一行包含一个整数 $T$ ($1 \le T \le 100000$),表示测试用例的数量。

每个测试用例包含六个整数 $a, b, c, \alpha, \beta, \gamma$。

($1 \le a, b, c \le 100, 0 < \alpha, \beta, \gamma < 360$)

输出格式

输出内切球的半径。请保留小数点后 6 位。

样例

样例输入 1

1
10 10 10 90 90 90

样例输出 1

2.113249

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.