結果

問題 No.374 コイン
ユーザー 14番14番
提出日時 2016-11-08 04:24:48
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 56 ms / 1,000 ms
コード長 946 bytes
コンパイル時間 2,318 ms
コンパイル使用メモリ 107,532 KB
実行使用メモリ 24,008 KB
最終ジャッジ日時 2023-08-16 14:48:36
合計ジャッジ時間 5,197 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
23,760 KB
testcase_01 AC 56 ms
23,860 KB
testcase_02 AC 54 ms
21,824 KB
testcase_03 AC 55 ms
21,964 KB
testcase_04 AC 56 ms
23,988 KB
testcase_05 AC 54 ms
23,892 KB
testcase_06 AC 52 ms
21,776 KB
testcase_07 AC 54 ms
21,932 KB
testcase_08 AC 54 ms
24,008 KB
testcase_09 AC 53 ms
21,836 KB
testcase_10 AC 55 ms
23,992 KB
testcase_11 AC 53 ms
21,788 KB
testcase_12 AC 55 ms
21,852 KB
testcase_13 AC 54 ms
21,960 KB
testcase_14 AC 53 ms
21,852 KB
testcase_15 AC 53 ms
23,996 KB
testcase_16 AC 55 ms
21,864 KB
testcase_17 AC 54 ms
21,964 KB
testcase_18 AC 52 ms
23,960 KB
testcase_19 AC 52 ms
22,064 KB
testcase_20 AC 53 ms
21,844 KB
testcase_21 AC 55 ms
21,780 KB
testcase_22 AC 54 ms
21,856 KB
testcase_23 AC 55 ms
21,844 KB
testcase_24 AC 55 ms
23,896 KB
testcase_25 AC 54 ms
21,872 KB
testcase_26 AC 53 ms
21,928 KB
testcase_27 AC 54 ms
23,892 KB
testcase_28 AC 53 ms
21,840 KB
testcase_29 AC 56 ms
23,880 KB
testcase_30 AC 55 ms
19,984 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Text;
using System.Linq;
using System.Collections.Generic;

public class Program
{
    public void Proc() {
        Reader.IsDebug = false;
        long[] inpt = Reader.ReadLine().Split(' ').Select(a=>long.Parse(a)).ToArray();

        Console.WriteLine(inpt[0]>=inpt[1]?"S":"K");

    }


    public class Reader {
        public static bool IsDebug = true;
        private static System.IO.StringReader SReader;
        private static string InitText = @"


4 6


";
        public static string ReadLine() {
            if(IsDebug) {
                if(SReader == null) {
                    SReader = new System.IO.StringReader(InitText.Trim());
                }
                return SReader.ReadLine();
            } else {
                return Console.ReadLine();
            }
        }
    }
    public static void Main(string[] args)
    {
        Program prg = new Program();
        prg.Proc();
    }
}
0