結果

問題 No.1622 三角形の面積
ユーザー SidewaysOwlSidewaysOwl
提出日時 2021-07-23 21:23:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 140 bytes
コンパイル時間 290 ms
コンパイル使用メモリ 87,092 KB
実行使用メモリ 72,016 KB
最終ジャッジ日時 2023-09-25 21:04:58
合計ジャッジ時間 1,229 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,452 KB
testcase_01 AC 75 ms
71,756 KB
testcase_02 AC 75 ms
71,480 KB
testcase_03 AC 77 ms
72,016 KB
testcase_04 AC 76 ms
71,680 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
t = int(input())
for i in range(t):
    r = int(input())
    ans = 3 * (1/2) * r**2 * math.sin(math.radians(120))
    print(ans)
0