結果

問題 No.1622 三角形の面積
ユーザー SidewaysOwl
提出日時 2021-07-23 21:23:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 140 bytes
コンパイル時間 159 ms
コンパイル使用メモリ 82,344 KB
実行使用メモリ 54,020 KB
最終ジャッジ日時 2024-07-18 16:53:00
合計ジャッジ時間 676 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 4
権限があれば一括ダウンロードができます

ソースコード

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