結果

問題 No.374 コイン
ユーザー bayashiko_rbayashiko_r
提出日時 2019-01-05 02:49:05
言語 C#(csc)
(csc 3.9.0)
結果
RE  
実行時間 -
コード長 361 bytes
コンパイル時間 1,001 ms
コンパイル使用メモリ 102,272 KB
実行使用メモリ 26,264 KB
最終ジャッジ日時 2024-05-03 02:50:17
合計ジャッジ時間 2,937 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
25,812 KB
testcase_01 AC 25 ms
23,772 KB
testcase_02 AC 26 ms
26,264 KB
testcase_03 AC 25 ms
23,640 KB
testcase_04 AC 26 ms
26,004 KB
testcase_05 AC 26 ms
25,752 KB
testcase_06 AC 25 ms
23,856 KB
testcase_07 AC 24 ms
25,940 KB
testcase_08 AC 25 ms
23,776 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 AC 24 ms
23,776 KB
testcase_13 AC 24 ms
21,684 KB
testcase_14 AC 25 ms
23,828 KB
testcase_15 AC 25 ms
21,684 KB
testcase_16 AC 24 ms
21,808 KB
testcase_17 AC 24 ms
23,828 KB
testcase_18 AC 25 ms
24,032 KB
testcase_19 AC 25 ms
23,924 KB
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 AC 25 ms
23,952 KB
testcase_24 AC 25 ms
23,904 KB
testcase_25 AC 24 ms
23,732 KB
testcase_26 RE -
testcase_27 AC 25 ms
23,772 KB
testcase_28 RE -
testcase_29 RE -
testcase_30 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class Program {
    static void Main(string[] args) {
        //入力
        string s = Console.ReadLine();
        int A = int.Parse(s.Split(' ')[0]);
        int B = int.Parse(s.Split(' ')[1]);

        //出力
        if (A >= B) {
            Console.WriteLine("S");
        } else {
            Console.WriteLine("K");
        }

    }
}
0