結果

問題 No.2070 Icosahedron
ユーザー kakel-sankakel-san
提出日時 2022-09-16 21:44:08
言語 C#(mono)
(mono 6.12.0.158)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 528 bytes
コンパイル時間 1,017 ms
使用メモリ 24,912 KB
最終ジャッジ日時 2023-01-11 06:23:04
合計ジャッジ時間 2,533 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 55 ms
22,924 KB
testcase_01 AC 56 ms
22,944 KB
testcase_02 AC 56 ms
24,820 KB
testcase_03 AC 56 ms
22,720 KB
testcase_04 AC 56 ms
20,748 KB
testcase_05 AC 57 ms
23,044 KB
testcase_06 AC 56 ms
22,792 KB
testcase_07 AC 55 ms
22,824 KB
testcase_08 AC 56 ms
24,912 KB
testcase_09 AC 56 ms
20,748 KB
testcase_10 AC 57 ms
24,796 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;
using static System.Console;
using System.Linq;
using System.Collections.Generic;

class Program
{
    static int NN => int.Parse(ReadLine());
    static int[] NList => ReadLine().Split().Select(int.Parse).ToArray();
    static string[] SList(int n) => Enumerable.Repeat(0, n).Select(_ => ReadLine()).ToArray();
    static void Main()
    {
        Solve();
    }
    static void Solve()
    {
        var n = NN;
        var c = 2903.83603252175836913358;
        WriteLine(c / 11 / 11 / 11 * n * n * n);
    }
}
0