結果

問題 No.374 コイン
ユーザー 37zigen37zigen
提出日時 2016-06-05 10:21:56
言語 Java21
(openjdk 21)
結果
AC  
実行時間 123 ms / 1,000 ms
コード長 315 bytes
コンパイル時間 2,159 ms
コンパイル使用メモリ 73,872 KB
実行使用メモリ 41,432 KB
最終ジャッジ日時 2024-04-25 11:23:12
合計ジャッジ時間 6,994 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
41,260 KB
testcase_01 AC 112 ms
40,144 KB
testcase_02 AC 120 ms
41,156 KB
testcase_03 AC 119 ms
41,412 KB
testcase_04 AC 112 ms
40,644 KB
testcase_05 AC 100 ms
40,276 KB
testcase_06 AC 110 ms
40,960 KB
testcase_07 AC 120 ms
41,004 KB
testcase_08 AC 115 ms
40,624 KB
testcase_09 AC 117 ms
41,388 KB
testcase_10 AC 122 ms
41,332 KB
testcase_11 AC 110 ms
40,072 KB
testcase_12 AC 112 ms
41,400 KB
testcase_13 AC 114 ms
41,068 KB
testcase_14 AC 119 ms
41,228 KB
testcase_15 AC 118 ms
40,296 KB
testcase_16 AC 118 ms
41,264 KB
testcase_17 AC 122 ms
41,160 KB
testcase_18 AC 123 ms
41,204 KB
testcase_19 AC 116 ms
40,716 KB
testcase_20 AC 120 ms
41,164 KB
testcase_21 AC 113 ms
41,432 KB
testcase_22 AC 117 ms
40,932 KB
testcase_23 AC 120 ms
41,200 KB
testcase_24 AC 123 ms
41,344 KB
testcase_25 AC 109 ms
39,860 KB
testcase_26 AC 122 ms
41,120 KB
testcase_27 AC 115 ms
40,960 KB
testcase_28 AC 115 ms
40,764 KB
testcase_29 AC 112 ms
41,128 KB
testcase_30 AC 121 ms
41,116 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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