結果

問題 No.1551 誕生日の三角形
ユーザー donutholedonuthole
提出日時 2021-06-18 23:03:11
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 190 ms / 1,000 ms
コード長 972 bytes
コンパイル時間 883 ms
コンパイル使用メモリ 86,528 KB
実行使用メモリ 83,056 KB
最終ジャッジ日時 2023-09-05 00:04:29
合計ジャッジ時間 3,924 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 188 ms
82,960 KB
testcase_01 AC 182 ms
81,496 KB
testcase_02 AC 183 ms
81,260 KB
testcase_03 AC 183 ms
82,896 KB
testcase_04 AC 184 ms
81,920 KB
testcase_05 AC 183 ms
83,056 KB
testcase_06 AC 190 ms
81,492 KB
testcase_07 AC 184 ms
82,920 KB
testcase_08 AC 185 ms
81,568 KB
testcase_09 AC 180 ms
81,340 KB
testcase_10 AC 182 ms
82,996 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import typing
import sys
import math
import collections
import bisect
import itertools
import heapq
import copy

# ===TEMPLATE==
# sys.setrecursionlimit(10**7+1)
# inf = float('inf')
inf = 10**20
mod = 10 ** 9 + 7
# mod = 998244353


def ni(): return int(sys.stdin.buffer.readline())
def ns(): return map(int, sys.stdin.buffer.readline().split())
def na(): return list(map(int, sys.stdin.buffer.readline().split()))
def na1(): return list(map(lambda x: int(x)-1, sys.stdin.buffer.readline().split()))
def nall(): return list(map(int, sys.stdin.buffer.read().split()))
def flush(): return sys.stdout.flush()
def nic(): return int(sys.stdin.readline())
def nsc(): return map(int, sys.stdin.readline().split())
def nac(): return list(map(int, sys.stdin.readline().split()))
def na1c(): return list(map(lambda x: int(x)-1, sys.stdin.readline().split()))


# ===CODE===
def main():
    l = ni()
    e = l/3
    print(math.sqrt(3)/4*e*e)


if __name__ == '__main__':
    main()
0