結果

問題 No.374 コイン
ユーザー ym678ym678
提出日時 2016-08-31 15:58:26
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 280 bytes
コンパイル時間 2,153 ms
コンパイル使用メモリ 74,688 KB
実行使用メモリ 41,688 KB
最終ジャッジ日時 2024-04-26 21:33:23
合計ジャッジ時間 7,533 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 131 ms
41,192 KB
testcase_01 AC 131 ms
40,996 KB
testcase_02 AC 132 ms
41,456 KB
testcase_03 AC 134 ms
41,132 KB
testcase_04 AC 130 ms
41,120 KB
testcase_05 AC 116 ms
40,024 KB
testcase_06 AC 118 ms
39,948 KB
testcase_07 AC 131 ms
41,096 KB
testcase_08 AC 130 ms
41,244 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 AC 117 ms
40,048 KB
testcase_13 AC 127 ms
41,260 KB
testcase_14 AC 137 ms
41,044 KB
testcase_15 AC 130 ms
41,124 KB
testcase_16 AC 133 ms
41,288 KB
testcase_17 AC 118 ms
39,916 KB
testcase_18 AC 130 ms
40,840 KB
testcase_19 AC 130 ms
41,060 KB
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 AC 129 ms
41,024 KB
testcase_24 AC 117 ms
39,960 KB
testcase_25 AC 130 ms
41,108 KB
testcase_26 RE -
testcase_27 AC 127 ms
40,936 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);
		int A = sc.nextInt();
		int B = sc.nextInt();
		sc.close();
		
		if(A<B){
			System.out.println("K");
		}else{
			System.out.println("S");
		}
		
	}
}
0