結果

問題 No.374 コイン
ユーザー bambambambam
提出日時 2019-08-27 13:46:50
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 265 bytes
コンパイル時間 1,754 ms
コンパイル使用メモリ 73,980 KB
実行使用メモリ 56,152 KB
最終ジャッジ日時 2024-04-27 14:17:55
合計ジャッジ時間 6,442 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
53,648 KB
testcase_01 AC 105 ms
52,724 KB
testcase_02 WA -
testcase_03 AC 118 ms
54,112 KB
testcase_04 AC 113 ms
54,124 KB
testcase_05 AC 113 ms
54,288 KB
testcase_06 AC 113 ms
53,828 KB
testcase_07 AC 115 ms
53,972 KB
testcase_08 AC 118 ms
54,276 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 AC 120 ms
53,992 KB
testcase_13 WA -
testcase_14 AC 105 ms
52,912 KB
testcase_15 AC 105 ms
52,624 KB
testcase_16 AC 115 ms
53,668 KB
testcase_17 AC 118 ms
54,184 KB
testcase_18 AC 116 ms
54,084 KB
testcase_19 AC 110 ms
53,316 KB
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 WA -
testcase_24 AC 112 ms
53,952 KB
testcase_25 AC 105 ms
52,728 KB
testcase_26 RE -
testcase_27 AC 119 ms
54,088 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) ? "S" : "K");
	}
}
0