結果

問題 No.632 穴埋め門松列
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-09-17 20:43:01
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 53 ms / 1,000 ms
コード長 209 bytes
コンパイル時間 3,298 ms
コンパイル使用メモリ 98,792 KB
実行使用メモリ 22,540 KB
最終ジャッジ日時 2023-09-25 09:34:44
合計ジャッジ時間 2,868 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

using System;

class No632{
    static void Main(string[] args){
        var str=Console.ReadLine().Split(' ');
        var answer=(str[1]=="2")?4:(str[1]=="3")?1:14;
        Console.WriteLine(answer);
    }
}
0