結果

問題 No.374 コイン
ユーザー YamaKasaYamaKasa
提出日時 2018-09-19 03:21:48
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 286 bytes
コンパイル時間 1,883 ms
コンパイル使用メモリ 71,036 KB
実行使用メモリ 57,928 KB
最終ジャッジ日時 2023-09-25 10:04:47
合計ジャッジ時間 7,128 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
55,684 KB
testcase_01 AC 118 ms
55,896 KB
testcase_02 AC 120 ms
56,252 KB
testcase_03 AC 121 ms
56,044 KB
testcase_04 AC 124 ms
55,832 KB
testcase_05 AC 123 ms
55,892 KB
testcase_06 AC 121 ms
55,688 KB
testcase_07 AC 120 ms
55,736 KB
testcase_08 AC 121 ms
55,976 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 AC 116 ms
56,300 KB
testcase_13 AC 120 ms
55,800 KB
testcase_14 AC 119 ms
55,740 KB
testcase_15 AC 118 ms
55,896 KB
testcase_16 AC 119 ms
55,804 KB
testcase_17 AC 120 ms
55,836 KB
testcase_18 AC 125 ms
55,800 KB
testcase_19 AC 122 ms
55,920 KB
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 AC 118 ms
55,520 KB
testcase_24 AC 121 ms
55,760 KB
testcase_25 AC 119 ms
55,896 KB
testcase_26 RE -
testcase_27 AC 120 ms
55,752 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 scan = new Scanner(System.in);
		int A = scan.nextInt();
		int B = scan.nextInt();
		scan.close();
		if(A < B) {
			System.out.println("K");
		}else {
			System.out.println("S");
		}
	}
}
0