結果

問題 No.1551 誕生日の三角形
ユーザー bluemeganebluemegane
提出日時 2021-06-18 22:30:32
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 62 ms / 1,000 ms
コード長 226 bytes
コンパイル時間 852 ms
コンパイル使用メモリ 63,272 KB
実行使用メモリ 24,724 KB
最終ジャッジ日時 2023-09-04 23:41:22
合計ジャッジ時間 2,487 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
22,588 KB
testcase_01 AC 61 ms
22,692 KB
testcase_02 AC 61 ms
24,628 KB
testcase_03 AC 61 ms
22,716 KB
testcase_04 AC 61 ms
24,724 KB
testcase_05 AC 61 ms
20,624 KB
testcase_06 AC 62 ms
24,684 KB
testcase_07 AC 61 ms
24,692 KB
testcase_08 AC 60 ms
22,756 KB
testcase_09 AC 62 ms
24,720 KB
testcase_10 AC 62 ms
22,664 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using static System.Math;
using System;

public class Hello
{
    static void Main()
    {
        var L = int.Parse(Console.ReadLine().Trim());
        var a = L / 3d;
        Console.WriteLine(Sqrt(3) / 4d * a * a);
    }
}
0