結果

問題 No.374 コイン
ユーザー ym678ym678
提出日時 2016-08-31 15:59:23
言語 Java21
(openjdk 21)
結果
AC  
実行時間 133 ms / 1,000 ms
コード長 284 bytes
コンパイル時間 2,002 ms
コンパイル使用メモリ 71,472 KB
実行使用メモリ 56,008 KB
最終ジャッジ日時 2023-08-09 06:45:17
合計ジャッジ時間 8,532 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
55,828 KB
testcase_01 AC 122 ms
55,484 KB
testcase_02 AC 122 ms
55,564 KB
testcase_03 AC 121 ms
55,544 KB
testcase_04 AC 125 ms
55,520 KB
testcase_05 AC 122 ms
55,512 KB
testcase_06 AC 123 ms
55,496 KB
testcase_07 AC 123 ms
55,760 KB
testcase_08 AC 122 ms
55,568 KB
testcase_09 AC 123 ms
55,788 KB
testcase_10 AC 122 ms
55,792 KB
testcase_11 AC 125 ms
55,316 KB
testcase_12 AC 124 ms
55,892 KB
testcase_13 AC 124 ms
55,844 KB
testcase_14 AC 127 ms
55,832 KB
testcase_15 AC 130 ms
55,524 KB
testcase_16 AC 131 ms
55,792 KB
testcase_17 AC 133 ms
55,532 KB
testcase_18 AC 128 ms
56,008 KB
testcase_19 AC 129 ms
53,420 KB
testcase_20 AC 128 ms
55,696 KB
testcase_21 AC 132 ms
55,964 KB
testcase_22 AC 130 ms
55,820 KB
testcase_23 AC 128 ms
55,420 KB
testcase_24 AC 129 ms
53,928 KB
testcase_25 AC 128 ms
55,740 KB
testcase_26 AC 129 ms
55,736 KB
testcase_27 AC 129 ms
55,576 KB
testcase_28 AC 129 ms
55,648 KB
testcase_29 AC 131 ms
55,728 KB
testcase_30 AC 131 ms
55,536 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long A = sc.nextLong();
		long B = sc.nextLong();
		sc.close();
		
		if(A<B){
			System.out.println("K");
		}else{
			System.out.println("S");
		}
		
	}
}
0