結果

問題 No.1622 三角形の面積
ユーザー koba-e964koba-e964
提出日時 2021-09-16 13:06:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 213 bytes
コンパイル時間 305 ms
コンパイル使用メモリ 86,952 KB
実行使用メモリ 71,764 KB
最終ジャッジ日時 2023-09-12 01:18:02
合計ジャッジ時間 1,579 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,588 KB
testcase_01 AC 70 ms
71,764 KB
testcase_02 AC 70 ms
71,744 KB
testcase_03 AC 74 ms
71,480 KB
testcase_04 AC 69 ms
71,644 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3

import sys
import math
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 7)

n = int(input())
for _ in range(n):
    x = int(input())
    print(x * x * 3 * math.sqrt(3) / 4)
0