結果

問題 No.374 コイン
ユーザー 37zigen37zigen
提出日時 2016-06-05 10:21:56
言語 Java19
(openjdk 21)
結果
AC  
実行時間 121 ms / 1,000 ms
コード長 315 bytes
コンパイル時間 1,817 ms
コンパイル使用メモリ 71,076 KB
実行使用メモリ 57,768 KB
最終ジャッジ日時 2023-08-07 17:49:20
合計ジャッジ時間 6,800 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
55,596 KB
testcase_01 AC 119 ms
55,608 KB
testcase_02 AC 119 ms
55,476 KB
testcase_03 AC 121 ms
55,512 KB
testcase_04 AC 120 ms
55,820 KB
testcase_05 AC 119 ms
55,656 KB
testcase_06 AC 118 ms
55,656 KB
testcase_07 AC 119 ms
55,912 KB
testcase_08 AC 117 ms
55,720 KB
testcase_09 AC 117 ms
55,936 KB
testcase_10 AC 118 ms
55,844 KB
testcase_11 AC 116 ms
55,656 KB
testcase_12 AC 118 ms
53,616 KB
testcase_13 AC 119 ms
56,004 KB
testcase_14 AC 117 ms
55,640 KB
testcase_15 AC 118 ms
55,836 KB
testcase_16 AC 120 ms
57,768 KB
testcase_17 AC 119 ms
55,732 KB
testcase_18 AC 120 ms
55,656 KB
testcase_19 AC 121 ms
55,716 KB
testcase_20 AC 119 ms
55,332 KB
testcase_21 AC 119 ms
55,800 KB
testcase_22 AC 120 ms
55,860 KB
testcase_23 AC 118 ms
55,924 KB
testcase_24 AC 121 ms
56,004 KB
testcase_25 AC 119 ms
55,868 KB
testcase_26 AC 117 ms
56,248 KB
testcase_27 AC 120 ms
55,808 KB
testcase_28 AC 119 ms
57,732 KB
testcase_29 AC 119 ms
55,296 KB
testcase_30 AC 121 ms
55,340 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