結果
問題 | No.1622 三角形の面積 |
ユーザー | Shirotsume |
提出日時 | 2021-07-25 17:22:47 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 17 ms / 2,000 ms |
コード長 | 150 bytes |
コンパイル時間 | 604 ms |
コンパイル使用メモリ | 10,516 KB |
実行使用メモリ | 8,276 KB |
最終ジャッジ日時 | 2023-09-28 07:15:54 |
合計ジャッジ時間 | 1,455 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 16 ms
8,144 KB |
testcase_01 | AC | 16 ms
8,180 KB |
testcase_02 | AC | 17 ms
8,184 KB |
testcase_03 | AC | 16 ms
8,184 KB |
testcase_04 | AC | 17 ms
8,276 KB |
ソースコード
t = int(input()) import math for _ in range(t): r = int(input()) ans = 3 * r * r * math.sin(120 / 180 * 3.1415926535897932) / 2 print(ans)