結果

問題 No.374 コイン
ユーザー OlderInvestorOlderInvestor
提出日時 2017-10-30 21:52:49
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 1,000 ms
コード長 352 bytes
コンパイル時間 3,283 ms
コンパイル使用メモリ 71,752 KB
実行使用メモリ 56,108 KB
最終ジャッジ日時 2023-08-14 13:24:12
合計ジャッジ時間 8,510 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
55,868 KB
testcase_01 AC 124 ms
55,428 KB
testcase_02 AC 124 ms
55,356 KB
testcase_03 AC 124 ms
55,896 KB
testcase_04 AC 123 ms
56,108 KB
testcase_05 AC 123 ms
55,572 KB
testcase_06 AC 125 ms
55,424 KB
testcase_07 AC 122 ms
55,872 KB
testcase_08 AC 124 ms
55,560 KB
testcase_09 AC 123 ms
55,624 KB
testcase_10 AC 124 ms
55,904 KB
testcase_11 AC 126 ms
55,580 KB
testcase_12 AC 124 ms
55,868 KB
testcase_13 AC 127 ms
55,804 KB
testcase_14 AC 127 ms
55,836 KB
testcase_15 AC 123 ms
55,556 KB
testcase_16 AC 124 ms
55,620 KB
testcase_17 AC 124 ms
55,820 KB
testcase_18 AC 125 ms
55,392 KB
testcase_19 AC 126 ms
55,532 KB
testcase_20 AC 123 ms
55,668 KB
testcase_21 AC 125 ms
55,552 KB
testcase_22 AC 124 ms
55,404 KB
testcase_23 AC 124 ms
55,888 KB
testcase_24 AC 123 ms
55,432 KB
testcase_25 AC 122 ms
55,876 KB
testcase_26 AC 125 ms
55,548 KB
testcase_27 AC 124 ms
55,672 KB
testcase_28 AC 125 ms
55,600 KB
testcase_29 AC 123 ms
55,956 KB
testcase_30 AC 123 ms
55,732 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder;

import java.util.Scanner;

public class No374 {
    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