結果

問題 No.138 化石のバージョン
ユーザー UTF-9UTF-9
提出日時 2015-06-02 18:26:46
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 336 bytes
コンパイル時間 2,024 ms
コンパイル使用メモリ 71,132 KB
実行使用メモリ 55,920 KB
最終ジャッジ日時 2023-09-20 18:51:32
合計ジャッジ時間 7,996 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
55,768 KB
testcase_01 AC 122 ms
55,532 KB
testcase_02 AC 123 ms
55,568 KB
testcase_03 AC 122 ms
55,704 KB
testcase_04 AC 123 ms
53,756 KB
testcase_05 AC 124 ms
55,456 KB
testcase_06 AC 124 ms
55,668 KB
testcase_07 AC 124 ms
55,680 KB
testcase_08 AC 121 ms
55,684 KB
testcase_09 AC 122 ms
55,548 KB
testcase_10 AC 122 ms
55,588 KB
testcase_11 AC 122 ms
55,564 KB
testcase_12 WA -
testcase_13 AC 121 ms
55,568 KB
testcase_14 WA -
testcase_15 AC 124 ms
55,632 KB
testcase_16 AC 121 ms
55,608 KB
testcase_17 AC 125 ms
55,880 KB
testcase_18 AC 125 ms
55,528 KB
testcase_19 AC 126 ms
55,452 KB
testcase_20 AC 120 ms
55,316 KB
testcase_21 AC 124 ms
55,480 KB
testcase_22 AC 124 ms
55,668 KB
testcase_23 AC 125 ms
55,544 KB
testcase_24 AC 124 ms
55,700 KB
testcase_25 AC 124 ms
55,496 KB
testcase_26 AC 124 ms
55,720 KB
testcase_27 AC 121 ms
55,456 KB
testcase_28 AC 122 ms
55,500 KB
testcase_29 WA -
testcase_30 AC 123 ms
55,684 KB
testcase_31 WA -
testcase_32 AC 121 ms
55,496 KB
testcase_33 WA -
testcase_34 AC 120 ms
55,736 KB
testcase_35 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String k = in.next();
        String n = in.next();
        if (k.compareTo(n) < 0) {
            System.out.println("NO");
        } else {
            System.out.println("YES");
        }
    }
}
0