結果

問題 No.374 コイン
ユーザー tentententen
提出日時 2021-02-04 09:42:56
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 320 bytes
コンパイル時間 2,359 ms
コンパイル使用メモリ 71,168 KB
実行使用メモリ 58,196 KB
最終ジャッジ日時 2023-09-13 04:42:02
合計ジャッジ時間 7,571 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
56,316 KB
testcase_01 AC 118 ms
55,696 KB
testcase_02 AC 116 ms
57,972 KB
testcase_03 AC 118 ms
56,196 KB
testcase_04 AC 117 ms
55,772 KB
testcase_05 AC 116 ms
55,832 KB
testcase_06 AC 118 ms
55,824 KB
testcase_07 AC 120 ms
56,204 KB
testcase_08 AC 118 ms
55,756 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 AC 118 ms
55,824 KB
testcase_13 AC 123 ms
55,696 KB
testcase_14 AC 117 ms
55,768 KB
testcase_15 AC 118 ms
55,980 KB
testcase_16 AC 119 ms
53,760 KB
testcase_17 AC 115 ms
56,056 KB
testcase_18 AC 118 ms
55,956 KB
testcase_19 AC 121 ms
55,844 KB
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 AC 118 ms
56,080 KB
testcase_24 AC 117 ms
56,152 KB
testcase_25 AC 114 ms
55,832 KB
testcase_26 RE -
testcase_27 AC 117 ms
55,804 KB
testcase_28 RE -
testcase_29 RE -
testcase_30 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        if (a < b) {
            System.out.println("K");
        } else {
            System.out.println("S");
        }
    }
}
0