結果

問題 No.1622 三角形の面積
ユーザー Prakhar AgarwalPrakhar Agarwal
提出日時 2021-08-05 01:44:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 102 ms / 2,000 ms
コード長 555 bytes
コンパイル時間 355 ms
コンパイル使用メモリ 86,880 KB
実行使用メモリ 71,796 KB
最終ジャッジ日時 2023-10-14 21:27:25
合計ジャッジ時間 1,553 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 99 ms
71,796 KB
testcase_01 AC 102 ms
71,504 KB
testcase_02 AC 102 ms
71,352 KB
testcase_03 AC 101 ms
71,632 KB
testcase_04 AC 101 ms
71,556 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# __________________________PyMagic ;)______________________________
from collections import *
from math import *
from sys import *
from bisect import *
input=stdin.readline

# __________________________Fast I/O :)_____________________________

def inp(): return map(int,input().split())
def print_l(a): return stdout.write(" ".join(map(str,a))+"\n")
def print_s(a): return stdout.write(str(a)+"\n")

# __________________________Finally...______________________________

for _ in range(int(input())):
    r=int(input())
    k=sqrt(3)
    print(0.75*r*r*k)
0