結果

問題 No.1551 誕生日の三角形
ユーザー ygd.ygd.
提出日時 2021-06-18 21:23:17
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 1,000 ms
コード長 165 bytes
コンパイル時間 149 ms
コンパイル使用メモリ 82,628 KB
実行使用メモリ 53,140 KB
最終ジャッジ日時 2024-06-22 19:48:43
合計ジャッジ時間 1,053 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

def main():
    L = int(input())
    s = L/2
    a = L/3
    ans = math.sqrt(s*(s-a)*(s-a)*(s-a))
    print(ans)


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