結果

問題 No.1107 三善アクセント
ユーザー ks2m
提出日時 2020-07-10 21:20:51
言語 Java
(openjdk 23)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 367 bytes
コンパイル時間 2,070 ms
コンパイル使用メモリ 75,748 KB
実行使用メモリ 41,364 KB
最終ジャッジ日時 2024-10-11 07:21:41
合計ジャッジ時間 6,707 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 24
権限があれば一括ダウンロードができます

ソースコード

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