結果

問題 No.374 コイン
ユーザー htensaihtensai
提出日時 2020-02-05 15:12:23
言語 Java21
(openjdk 21)
結果
AC  
実行時間 128 ms / 1,000 ms
コード長 324 bytes
コンパイル時間 2,718 ms
コンパイル使用メモリ 74,460 KB
実行使用メモリ 57,700 KB
最終ジャッジ日時 2023-10-23 20:11:30
合計ジャッジ時間 7,436 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
57,700 KB
testcase_01 AC 124 ms
57,604 KB
testcase_02 AC 124 ms
57,340 KB
testcase_03 AC 124 ms
57,176 KB
testcase_04 AC 124 ms
57,556 KB
testcase_05 AC 114 ms
56,156 KB
testcase_06 AC 124 ms
57,520 KB
testcase_07 AC 126 ms
57,476 KB
testcase_08 AC 126 ms
57,484 KB
testcase_09 AC 124 ms
57,640 KB
testcase_10 AC 125 ms
57,468 KB
testcase_11 AC 115 ms
56,184 KB
testcase_12 AC 124 ms
57,428 KB
testcase_13 AC 125 ms
57,308 KB
testcase_14 AC 125 ms
57,208 KB
testcase_15 AC 125 ms
57,456 KB
testcase_16 AC 124 ms
57,592 KB
testcase_17 AC 128 ms
57,420 KB
testcase_18 AC 126 ms
57,140 KB
testcase_19 AC 128 ms
57,248 KB
testcase_20 AC 127 ms
57,524 KB
testcase_21 AC 126 ms
57,560 KB
testcase_22 AC 124 ms
57,268 KB
testcase_23 AC 128 ms
57,604 KB
testcase_24 AC 126 ms
57,404 KB
testcase_25 AC 126 ms
57,600 KB
testcase_26 AC 117 ms
56,264 KB
testcase_27 AC 115 ms
56,260 KB
testcase_28 AC 125 ms
57,500 KB
testcase_29 AC 124 ms
57,480 KB
testcase_30 AC 125 ms
57,556 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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