結果

問題 No.1992 Tendon Walk
ユーザー 👑 kakel-sankakel-san
提出日時 2022-11-05 21:42:27
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 384 bytes
コンパイル時間 1,401 ms
コンパイル使用メモリ 60,928 KB
実行使用メモリ 22,688 KB
最終ジャッジ日時 2023-09-26 21:09:18
合計ジャッジ時間 2,133 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
18,652 KB
testcase_01 AC 55 ms
20,704 KB
testcase_02 AC 56 ms
22,688 KB
testcase_03 AC 55 ms
22,616 KB
testcase_04 AC 56 ms
20,656 KB
testcase_05 AC 57 ms
20,768 KB
testcase_06 AC 56 ms
20,632 KB
testcase_07 AC 56 ms
20,604 KB
testcase_08 AC 56 ms
20,680 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

class Program
{
    static int NN => int.Parse(ReadLine());
    static void Main()
    {
        Solve();
    }
    static void Solve()
    {
        var x = NN;
        var res = new int[] { 0, 0, 2, 5, 4, 15, 14, 25, 24, 35, 34 };
        WriteLine(res[x]);
    }
}
0