結果

問題 No.1107 三善アクセント
ユーザー 拓哉拓哉
提出日時 2020-07-21 22:14:00
言語 Java21
(openjdk 21)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 332 bytes
コンパイル時間 2,863 ms
コンパイル使用メモリ 71,924 KB
実行使用メモリ 56,220 KB
最終ジャッジ日時 2023-08-30 03:18:20
合計ジャッジ時間 8,411 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
55,552 KB
testcase_01 AC 123 ms
55,768 KB
testcase_02 AC 123 ms
55,900 KB
testcase_03 AC 124 ms
55,816 KB
testcase_04 AC 125 ms
56,220 KB
testcase_05 AC 126 ms
55,500 KB
testcase_06 AC 125 ms
55,628 KB
testcase_07 AC 126 ms
55,896 KB
testcase_08 AC 126 ms
55,524 KB
testcase_09 AC 125 ms
55,712 KB
testcase_10 AC 127 ms
55,716 KB
testcase_11 AC 125 ms
55,660 KB
testcase_12 AC 126 ms
55,780 KB
testcase_13 AC 126 ms
55,520 KB
testcase_14 AC 126 ms
55,656 KB
testcase_15 AC 126 ms
55,264 KB
testcase_16 AC 126 ms
55,468 KB
testcase_17 AC 127 ms
55,776 KB
testcase_18 AC 125 ms
55,880 KB
testcase_19 AC 127 ms
55,404 KB
testcase_20 AC 124 ms
55,812 KB
testcase_21 AC 127 ms
55,892 KB
testcase_22 AC 125 ms
55,716 KB
testcase_23 AC 125 ms
55,908 KB
testcase_24 AC 128 ms
55,768 KB
testcase_25 AC 127 ms
55,508 KB
testcase_26 AC 126 ms
56,108 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;


class Main {
    public static void main(String[] args) {
   		Scanner sc=new Scanner(System.in);
   		int num=0;
   		if(sc.nextInt()<sc.nextInt())num++;
   		if(sc.nextInt()>sc.nextInt())num++;
   		if(num>1)System.out.println("YES");
   		else System.out.println("NO");
   		sc.close();
   		return;
    }
}
0