結果

問題 No.374 コイン
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2016-12-04 04:35:58
言語 Java21
(openjdk 21)
結果
AC  
実行時間 130 ms / 1,000 ms
コード長 318 bytes
コンパイル時間 2,146 ms
コンパイル使用メモリ 71,400 KB
実行使用メモリ 55,964 KB
最終ジャッジ日時 2023-08-18 14:03:51
合計ジャッジ時間 7,428 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
55,760 KB
testcase_01 AC 125 ms
55,964 KB
testcase_02 AC 124 ms
55,684 KB
testcase_03 AC 125 ms
55,724 KB
testcase_04 AC 126 ms
55,896 KB
testcase_05 AC 127 ms
55,700 KB
testcase_06 AC 129 ms
55,676 KB
testcase_07 AC 127 ms
55,956 KB
testcase_08 AC 126 ms
55,484 KB
testcase_09 AC 126 ms
55,960 KB
testcase_10 AC 125 ms
55,820 KB
testcase_11 AC 126 ms
55,756 KB
testcase_12 AC 127 ms
55,676 KB
testcase_13 AC 124 ms
55,724 KB
testcase_14 AC 125 ms
55,716 KB
testcase_15 AC 128 ms
55,740 KB
testcase_16 AC 129 ms
55,656 KB
testcase_17 AC 126 ms
55,772 KB
testcase_18 AC 126 ms
55,444 KB
testcase_19 AC 125 ms
55,820 KB
testcase_20 AC 125 ms
55,672 KB
testcase_21 AC 125 ms
55,728 KB
testcase_22 AC 130 ms
55,676 KB
testcase_23 AC 125 ms
55,660 KB
testcase_24 AC 126 ms
55,628 KB
testcase_25 AC 129 ms
55,820 KB
testcase_26 AC 126 ms
55,672 KB
testcase_27 AC 130 ms
55,724 KB
testcase_28 AC 126 ms
55,760 KB
testcase_29 AC 127 ms
55,896 KB
testcase_30 AC 127 ms
55,704 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