結果

問題 No.374 コイン
ユーザー kenji_shioyakenji_shioya
提出日時 2016-06-05 08:32:14
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 285 bytes
コンパイル時間 3,240 ms
コンパイル使用メモリ 75,092 KB
実行使用メモリ 56,208 KB
最終ジャッジ日時 2024-04-17 04:18:47
合計ジャッジ時間 8,230 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
40,964 KB
testcase_01 AC 112 ms
40,328 KB
testcase_02 AC 119 ms
41,016 KB
testcase_03 AC 122 ms
41,160 KB
testcase_04 AC 115 ms
41,204 KB
testcase_05 AC 126 ms
41,308 KB
testcase_06 AC 118 ms
40,300 KB
testcase_07 AC 117 ms
39,876 KB
testcase_08 AC 112 ms
40,124 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 AC 120 ms
40,424 KB
testcase_13 AC 113 ms
40,228 KB
testcase_14 AC 113 ms
40,280 KB
testcase_15 AC 122 ms
41,140 KB
testcase_16 AC 112 ms
40,292 KB
testcase_17 AC 111 ms
40,088 KB
testcase_18 AC 111 ms
40,192 KB
testcase_19 AC 116 ms
39,956 KB
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 AC 117 ms
40,312 KB
testcase_24 AC 116 ms
39,840 KB
testcase_25 AC 128 ms
40,864 KB
testcase_26 RE -
testcase_27 AC 129 ms
41,552 KB
testcase_28 RE -
testcase_29 RE -
testcase_30 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Exercise60{
  public static void main (String[] args){

    Scanner sc = new Scanner(System.in);

    int a = sc.nextInt();
    int b = sc.nextInt();

    if (b > a){
      System.out.println("K");
    }else{
      System.out.println("S");
    }
  }
}
0