結果

問題 No.138 化石のバージョン
ユーザー fal_rndfal_rnd
提出日時 2017-08-08 18:25:30
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 607 bytes
コンパイル時間 2,085 ms
コンパイル使用メモリ 79,304 KB
実行使用メモリ 41,648 KB
最終ジャッジ日時 2024-04-20 05:14:21
合計ジャッジ時間 6,928 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 106 ms
41,284 KB
testcase_01 AC 95 ms
41,144 KB
testcase_02 AC 108 ms
41,048 KB
testcase_03 AC 99 ms
40,448 KB
testcase_04 AC 95 ms
40,268 KB
testcase_05 AC 104 ms
41,140 KB
testcase_06 AC 110 ms
41,548 KB
testcase_07 AC 103 ms
41,132 KB
testcase_08 AC 106 ms
41,352 KB
testcase_09 AC 95 ms
40,084 KB
testcase_10 AC 104 ms
40,968 KB
testcase_11 AC 94 ms
41,604 KB
testcase_12 WA -
testcase_13 AC 105 ms
41,572 KB
testcase_14 WA -
testcase_15 AC 97 ms
40,260 KB
testcase_16 AC 106 ms
41,368 KB
testcase_17 AC 96 ms
41,024 KB
testcase_18 AC 108 ms
40,912 KB
testcase_19 AC 97 ms
40,396 KB
testcase_20 AC 96 ms
41,520 KB
testcase_21 AC 91 ms
39,724 KB
testcase_22 AC 95 ms
41,416 KB
testcase_23 AC 93 ms
41,188 KB
testcase_24 AC 95 ms
40,448 KB
testcase_25 AC 95 ms
41,284 KB
testcase_26 AC 98 ms
39,948 KB
testcase_27 AC 98 ms
40,332 KB
testcase_28 AC 107 ms
40,988 KB
testcase_29 WA -
testcase_30 AC 108 ms
41,288 KB
testcase_31 WA -
testcase_32 AC 95 ms
40,284 KB
testcase_33 WA -
testcase_34 AC 106 ms
41,544 KB
testcase_35 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
import java.util.stream.IntStream;

public class Main{
	static Scanner s=new Scanner(System.in);
	static int getInt(){return Integer.parseInt(s.next());}
	static IntStream REPS(int v){return IntStream.range(0,v);}
	static IntStream REPS(int l,int r){return IntStream.rangeClosed(l,r);}
	static IntStream INS(int n) {return REPS(n).map(i->getInt());}
	static class Pair<T,U>{
		T l;U r;
		Pair(T L,U R){l=L;r=R;}
		T getL(){return l;}
		U getR(){return r;}
	}

	public static void main(String[]$){
		System.out.println(
				s.next().compareTo(s.next())<0
				?"NO":"YES"
				);
	}
}
0