結果

問題 No.374 コイン
ユーザー samplelpmassamplelpmas
提出日時 2017-05-07 22:39:14
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 1,000 ms
コード長 337 bytes
コンパイル時間 2,009 ms
コンパイル使用メモリ 71,904 KB
実行使用メモリ 56,496 KB
最終ジャッジ日時 2023-10-12 16:14:24
合計ジャッジ時間 7,313 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
55,848 KB
testcase_01 AC 120 ms
56,028 KB
testcase_02 AC 121 ms
56,228 KB
testcase_03 AC 121 ms
56,184 KB
testcase_04 AC 121 ms
56,164 KB
testcase_05 AC 123 ms
56,312 KB
testcase_06 AC 121 ms
56,496 KB
testcase_07 AC 121 ms
55,708 KB
testcase_08 AC 122 ms
55,892 KB
testcase_09 AC 121 ms
53,900 KB
testcase_10 AC 123 ms
56,280 KB
testcase_11 AC 121 ms
55,784 KB
testcase_12 AC 121 ms
55,532 KB
testcase_13 AC 121 ms
56,116 KB
testcase_14 AC 120 ms
55,956 KB
testcase_15 AC 122 ms
55,696 KB
testcase_16 AC 121 ms
56,128 KB
testcase_17 AC 122 ms
55,956 KB
testcase_18 AC 121 ms
56,128 KB
testcase_19 AC 120 ms
55,872 KB
testcase_20 AC 119 ms
56,048 KB
testcase_21 AC 120 ms
55,652 KB
testcase_22 AC 120 ms
55,688 KB
testcase_23 AC 124 ms
56,048 KB
testcase_24 AC 120 ms
55,680 KB
testcase_25 AC 120 ms
55,796 KB
testcase_26 AC 122 ms
56,204 KB
testcase_27 AC 122 ms
56,040 KB
testcase_28 AC 121 ms
55,768 KB
testcase_29 AC 119 ms
55,812 KB
testcase_30 AC 121 ms
56,396 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        long A = sc.nextLong();
        long B = sc.nextLong();

        if (A < B) {
            System.out.println('K');
        } else {
            System.out.println('S');
        }

    }

}
0