結果

問題 No.374 コイン
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2016-12-04 04:35:18
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 314 bytes
コンパイル時間 2,803 ms
コンパイル使用メモリ 71,400 KB
実行使用メモリ 56,244 KB
最終ジャッジ日時 2023-08-18 14:03:15
合計ジャッジ時間 8,339 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
56,044 KB
testcase_01 AC 128 ms
55,760 KB
testcase_02 AC 128 ms
55,772 KB
testcase_03 AC 127 ms
55,684 KB
testcase_04 AC 127 ms
55,920 KB
testcase_05 AC 127 ms
55,916 KB
testcase_06 AC 126 ms
55,796 KB
testcase_07 AC 127 ms
55,920 KB
testcase_08 AC 127 ms
55,492 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 AC 127 ms
55,904 KB
testcase_13 AC 128 ms
55,448 KB
testcase_14 AC 127 ms
55,960 KB
testcase_15 AC 127 ms
55,716 KB
testcase_16 AC 125 ms
55,696 KB
testcase_17 AC 125 ms
55,720 KB
testcase_18 AC 129 ms
55,784 KB
testcase_19 AC 126 ms
55,776 KB
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 AC 124 ms
56,024 KB
testcase_24 AC 123 ms
55,464 KB
testcase_25 AC 124 ms
55,756 KB
testcase_26 RE -
testcase_27 AC 126 ms
55,688 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