結果

問題 No.138 化石のバージョン
ユーザー ffmm00ffmm00
提出日時 2015-06-10 03:54:14
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 360 bytes
コンパイル時間 3,036 ms
コンパイル使用メモリ 72,876 KB
実行使用メモリ 58,188 KB
最終ジャッジ日時 2023-09-20 20:30:40
合計ジャッジ時間 8,631 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
55,392 KB
testcase_01 AC 115 ms
56,160 KB
testcase_02 WA -
testcase_03 AC 116 ms
55,368 KB
testcase_04 AC 115 ms
55,388 KB
testcase_05 AC 116 ms
56,036 KB
testcase_06 AC 115 ms
56,356 KB
testcase_07 AC 115 ms
56,132 KB
testcase_08 WA -
testcase_09 AC 115 ms
55,632 KB
testcase_10 AC 115 ms
55,932 KB
testcase_11 AC 115 ms
55,700 KB
testcase_12 AC 116 ms
55,836 KB
testcase_13 WA -
testcase_14 AC 117 ms
55,680 KB
testcase_15 WA -
testcase_16 AC 115 ms
55,640 KB
testcase_17 AC 116 ms
56,076 KB
testcase_18 AC 116 ms
55,384 KB
testcase_19 AC 115 ms
56,004 KB
testcase_20 AC 116 ms
55,984 KB
testcase_21 AC 116 ms
55,936 KB
testcase_22 AC 116 ms
55,400 KB
testcase_23 AC 117 ms
56,068 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 117 ms
56,424 KB
testcase_27 AC 118 ms
55,480 KB
testcase_28 AC 115 ms
56,156 KB
testcase_29 AC 115 ms
55,844 KB
testcase_30 AC 117 ms
54,144 KB
testcase_31 AC 115 ms
56,244 KB
testcase_32 AC 115 ms
56,160 KB
testcase_33 AC 115 ms
55,676 KB
testcase_34 AC 115 ms
55,372 KB
testcase_35 AC 116 ms
55,664 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class N138 {

	public static void main(String[] args) {

		Scanner sca = new Scanner(System.in);

		String A = sca.next();
		String B = sca.next();

		A = A.replaceAll("\\.", "");
		B = B.replaceAll("\\.", "");

		int x = Integer.parseInt(A);
		int y = Integer.parseInt(B);

		System.out.println(x >= y ? "YES" : "NO");

	}

}
0