結果

問題 No.374 コイン
ユーザー bambambambam
提出日時 2019-08-27 13:47:58
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 265 bytes
コンパイル時間 1,856 ms
コンパイル使用メモリ 74,044 KB
実行使用メモリ 55,444 KB
最終ジャッジ日時 2024-04-27 14:18:58
合計ジャッジ時間 6,312 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
53,872 KB
testcase_01 AC 120 ms
54,192 KB
testcase_02 AC 118 ms
53,836 KB
testcase_03 AC 117 ms
53,964 KB
testcase_04 AC 114 ms
54,004 KB
testcase_05 AC 117 ms
53,352 KB
testcase_06 AC 119 ms
54,028 KB
testcase_07 AC 104 ms
52,824 KB
testcase_08 AC 113 ms
52,888 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 AC 117 ms
53,820 KB
testcase_13 AC 116 ms
53,916 KB
testcase_14 AC 119 ms
54,000 KB
testcase_15 AC 108 ms
52,896 KB
testcase_16 AC 109 ms
52,912 KB
testcase_17 AC 110 ms
53,452 KB
testcase_18 AC 103 ms
52,904 KB
testcase_19 AC 105 ms
52,732 KB
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 AC 114 ms
53,912 KB
testcase_24 AC 106 ms
52,964 KB
testcase_25 AC 106 ms
52,664 KB
testcase_26 RE -
testcase_27 AC 117 ms
54,176 KB
testcase_28 RE -
testcase_29 RE -
testcase_30 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int a = sc.nextInt();
		int b = sc.nextInt();
		System.out.println((a < b) ? "K" : "S");
	}
}
0