結果

問題 No.374 コイン
ユーザー GrenacheGrenache
提出日時 2016-06-08 20:17:31
言語 Java21
(openjdk 21)
結果
AC  
実行時間 120 ms / 1,000 ms
コード長 358 bytes
コンパイル時間 2,832 ms
コンパイル使用メモリ 71,664 KB
実行使用メモリ 56,436 KB
最終ジャッジ日時 2023-08-07 17:50:48
合計ジャッジ時間 7,746 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
56,184 KB
testcase_01 AC 118 ms
55,692 KB
testcase_02 AC 119 ms
55,780 KB
testcase_03 AC 119 ms
55,844 KB
testcase_04 AC 119 ms
56,228 KB
testcase_05 AC 119 ms
55,924 KB
testcase_06 AC 120 ms
55,660 KB
testcase_07 AC 119 ms
56,068 KB
testcase_08 AC 119 ms
55,984 KB
testcase_09 AC 119 ms
55,920 KB
testcase_10 AC 119 ms
55,700 KB
testcase_11 AC 120 ms
55,420 KB
testcase_12 AC 118 ms
55,400 KB
testcase_13 AC 118 ms
56,276 KB
testcase_14 AC 119 ms
56,212 KB
testcase_15 AC 120 ms
56,268 KB
testcase_16 AC 119 ms
56,088 KB
testcase_17 AC 120 ms
55,820 KB
testcase_18 AC 119 ms
56,164 KB
testcase_19 AC 118 ms
55,780 KB
testcase_20 AC 118 ms
55,580 KB
testcase_21 AC 119 ms
55,900 KB
testcase_22 AC 117 ms
55,904 KB
testcase_23 AC 118 ms
55,400 KB
testcase_24 AC 118 ms
56,152 KB
testcase_25 AC 119 ms
56,396 KB
testcase_26 AC 117 ms
55,908 KB
testcase_27 AC 118 ms
55,888 KB
testcase_28 AC 119 ms
56,436 KB
testcase_29 AC 118 ms
56,296 KB
testcase_30 AC 118 ms
55,400 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;


public class Main_yukicoder374 {

    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("S");
        } else {
        	System.out.println("K");
        }

        sc.close();
    }
}
0