結果

問題 No.632 穴埋め門松列
ユーザー saran1591saran1591
提出日時 2018-06-28 10:48:24
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 53 ms / 1,000 ms
コード長 353 bytes
コンパイル時間 1,941 ms
コンパイル使用メモリ 103,104 KB
実行使用メモリ 21,452 KB
最終ジャッジ日時 2023-09-13 14:38:22
合計ジャッジ時間 2,851 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 52 ms
21,368 KB
testcase_01 AC 53 ms
21,400 KB
testcase_02 AC 52 ms
21,436 KB
testcase_03 AC 52 ms
21,380 KB
testcase_04 AC 53 ms
21,452 KB
testcase_05 AC 53 ms
21,368 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using static System.Console;
using System.Linq;
namespace App
{
    class Prog
    {
        static void Main()
        {
            var x = ReadLine().Split().ToArray();
            if (x[1] == "?")
            {
                WriteLine("14");
                return;
            }
            WriteLine((x[1] == "3") ? "1" : "4");
        }
    }
}
0