結果

問題 No.374 コイン
ユーザー kenji_shioyakenji_shioya
提出日時 2016-06-05 09:19:16
言語 Java21
(openjdk 21)
結果
AC  
実行時間 54 ms / 1,000 ms
コード長 476 bytes
コンパイル時間 3,528 ms
コンパイル使用メモリ 74,432 KB
実行使用メモリ 37,064 KB
最終ジャッジ日時 2024-04-25 11:22:49
合計ジャッジ時間 6,122 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
36,856 KB
testcase_01 AC 51 ms
37,036 KB
testcase_02 AC 52 ms
36,844 KB
testcase_03 AC 52 ms
36,800 KB
testcase_04 AC 52 ms
36,552 KB
testcase_05 AC 51 ms
36,636 KB
testcase_06 AC 53 ms
36,568 KB
testcase_07 AC 52 ms
36,728 KB
testcase_08 AC 54 ms
36,980 KB
testcase_09 AC 52 ms
36,780 KB
testcase_10 AC 53 ms
36,852 KB
testcase_11 AC 51 ms
36,380 KB
testcase_12 AC 52 ms
36,408 KB
testcase_13 AC 53 ms
37,052 KB
testcase_14 AC 52 ms
36,492 KB
testcase_15 AC 53 ms
36,908 KB
testcase_16 AC 54 ms
36,768 KB
testcase_17 AC 51 ms
36,764 KB
testcase_18 AC 52 ms
37,048 KB
testcase_19 AC 52 ms
36,764 KB
testcase_20 AC 54 ms
36,568 KB
testcase_21 AC 51 ms
36,504 KB
testcase_22 AC 53 ms
36,888 KB
testcase_23 AC 53 ms
36,804 KB
testcase_24 AC 54 ms
37,064 KB
testcase_25 AC 53 ms
36,520 KB
testcase_26 AC 54 ms
36,972 KB
testcase_27 AC 54 ms
36,944 KB
testcase_28 AC 51 ms
36,516 KB
testcase_29 AC 54 ms
36,952 KB
testcase_30 AC 54 ms
36,900 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;

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

    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String str = new String(in.readLine());

    String[] strArray = str.split(" ");

    long a = Long.parseLong(strArray[0]);
    long b = Long.parseLong(strArray[1]);

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