No.1622 Area of a Triangle
問題文最終更新日: 2022-04-25 23:39:21
English (AI translation)
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence.
Back to the original
yukicoder contest 306
(順位表)
の他の問題:
Problem Statement
Find the maximum area of a triangle inscribed in a circle of radius $r$. You are given $t$ test cases.
Constraints
Input
$t$ $r_1$ $r_2$ $\vdots$ $r_t$
Output
For each of the $t$ test cases, output as a real number the maximum area of a triangle inscribed in a circle of radius $r$. Your answer is considered correct if the absolute or relative error is at most $10^{-4}$. Print a newline at the end.
Sample
Sample 1
Input
3 1 5 8
Output
1.299038105676657 32.475952641916422 83.138438763306041
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。
null
nok0
sak