結果

問題 No.1622 三角形の面積
ユーザー nebukuro09nebukuro09
提出日時 2021-07-23 21:23:51
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 18 ms / 2,000 ms
コード長 137 bytes
コンパイル時間 157 ms
コンパイル使用メモリ 10,556 KB
実行使用メモリ 8,044 KB
最終ジャッジ日時 2023-09-25 21:06:34
合計ジャッジ時間 811 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,036 KB
testcase_01 AC 17 ms
7,936 KB
testcase_02 AC 18 ms
8,044 KB
testcase_03 AC 17 ms
7,904 KB
testcase_04 AC 17 ms
7,936 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

t = int(input())

for _ in range(t):
    r = int(input())
    ans = 0.5 * math.sqrt(3) * r * r * 1.5
    print("%.7f" % ans)
0