結果

問題 No.1107 三善アクセント
ユーザー ks2mks2m
提出日時 2020-07-10 21:20:51
言語 Java21
(openjdk 21)
結果
AC  
実行時間 133 ms / 2,000 ms
コード長 367 bytes
コンパイル時間 2,191 ms
コンパイル使用メモリ 73,964 KB
実行使用メモリ 41,872 KB
最終ジャッジ日時 2024-04-19 15:11:30
合計ジャッジ時間 6,424 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 130 ms
41,044 KB
testcase_01 AC 129 ms
41,488 KB
testcase_02 AC 126 ms
41,568 KB
testcase_03 AC 122 ms
40,216 KB
testcase_04 AC 133 ms
41,560 KB
testcase_05 AC 132 ms
41,276 KB
testcase_06 AC 130 ms
41,868 KB
testcase_07 AC 129 ms
41,164 KB
testcase_08 AC 129 ms
41,580 KB
testcase_09 AC 129 ms
41,544 KB
testcase_10 AC 128 ms
41,616 KB
testcase_11 AC 133 ms
41,724 KB
testcase_12 AC 130 ms
41,404 KB
testcase_13 AC 132 ms
41,512 KB
testcase_14 AC 129 ms
41,872 KB
testcase_15 AC 130 ms
41,744 KB
testcase_16 AC 129 ms
41,380 KB
testcase_17 AC 129 ms
41,408 KB
testcase_18 AC 130 ms
41,432 KB
testcase_19 AC 128 ms
41,452 KB
testcase_20 AC 130 ms
41,400 KB
testcase_21 AC 129 ms
41,576 KB
testcase_22 AC 126 ms
41,744 KB
testcase_23 AC 130 ms
41,308 KB
testcase_24 AC 130 ms
41,176 KB
testcase_25 AC 127 ms
41,228 KB
testcase_26 AC 129 ms
41,788 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int a1 = sc.nextInt();
		int a2 = sc.nextInt();
		int a3 = sc.nextInt();
		int a4 = sc.nextInt();
		sc.close();

		if (a1 < a2 && a3 > a4) {
			System.out.println("YES");
		} else {
			System.out.println("NO");
		}
	}
}
0