結果

問題 No.374 コイン
ユーザー bambambambam
提出日時 2019-08-27 13:49:00
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 1,000 ms
コード長 269 bytes
コンパイル時間 2,004 ms
コンパイル使用メモリ 74,312 KB
実行使用メモリ 54,168 KB
最終ジャッジ日時 2024-04-27 14:19:51
合計ジャッジ時間 6,106 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 105 ms
52,968 KB
testcase_01 AC 105 ms
52,720 KB
testcase_02 AC 120 ms
53,868 KB
testcase_03 AC 104 ms
54,064 KB
testcase_04 AC 119 ms
54,004 KB
testcase_05 AC 115 ms
53,736 KB
testcase_06 AC 111 ms
52,968 KB
testcase_07 AC 112 ms
53,752 KB
testcase_08 AC 103 ms
53,008 KB
testcase_09 AC 113 ms
53,936 KB
testcase_10 AC 105 ms
52,844 KB
testcase_11 AC 104 ms
52,888 KB
testcase_12 AC 113 ms
54,004 KB
testcase_13 AC 123 ms
53,748 KB
testcase_14 AC 105 ms
52,916 KB
testcase_15 AC 118 ms
54,168 KB
testcase_16 AC 114 ms
53,736 KB
testcase_17 AC 104 ms
52,904 KB
testcase_18 AC 108 ms
52,920 KB
testcase_19 AC 115 ms
53,388 KB
testcase_20 AC 102 ms
52,636 KB
testcase_21 AC 104 ms
52,612 KB
testcase_22 AC 114 ms
52,812 KB
testcase_23 AC 121 ms
54,104 KB
testcase_24 AC 111 ms
52,860 KB
testcase_25 AC 118 ms
54,040 KB
testcase_26 AC 106 ms
52,720 KB
testcase_27 AC 106 ms
52,652 KB
testcase_28 AC 104 ms
52,756 KB
testcase_29 AC 125 ms
53,880 KB
testcase_30 AC 120 ms
54,000 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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