結果

問題 No.1551 誕生日の三角形
ユーザー ygd.ygd.
提出日時 2021-06-18 21:23:17
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 1,000 ms
コード長 165 bytes
コンパイル時間 677 ms
コンパイル使用メモリ 87,108 KB
実行使用メモリ 71,584 KB
最終ジャッジ日時 2023-09-04 22:21:54
合計ジャッジ時間 2,266 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,448 KB
testcase_01 AC 78 ms
71,424 KB
testcase_02 AC 77 ms
71,508 KB
testcase_03 AC 76 ms
71,448 KB
testcase_04 AC 76 ms
71,220 KB
testcase_05 AC 75 ms
71,584 KB
testcase_06 AC 78 ms
71,216 KB
testcase_07 AC 77 ms
71,216 KB
testcase_08 AC 76 ms
71,408 KB
testcase_09 AC 76 ms
71,224 KB
testcase_10 AC 75 ms
71,464 KB
権限があれば一括ダウンロードができます

ソースコード

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