結果

問題 No.1107 三善アクセント
ユーザー 👑 yumechiyumechi
提出日時 2021-02-23 22:58:27
言語 Scala(Beta)
(3.4.0)
結果
AC  
実行時間 1,039 ms / 2,000 ms
コード長 187 bytes
コンパイル時間 10,479 ms
コンパイル使用メモリ 250,368 KB
実行使用メモリ 65,708 KB
最終ジャッジ日時 2023-10-24 00:13:37
合計ジャッジ時間 41,212 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 968 ms
65,648 KB
testcase_01 AC 977 ms
65,616 KB
testcase_02 AC 966 ms
65,660 KB
testcase_03 AC 971 ms
65,672 KB
testcase_04 AC 969 ms
65,704 KB
testcase_05 AC 981 ms
65,688 KB
testcase_06 AC 975 ms
65,640 KB
testcase_07 AC 971 ms
65,708 KB
testcase_08 AC 968 ms
65,692 KB
testcase_09 AC 984 ms
65,664 KB
testcase_10 AC 1,039 ms
65,660 KB
testcase_11 AC 1,001 ms
65,636 KB
testcase_12 AC 984 ms
65,692 KB
testcase_13 AC 974 ms
65,680 KB
testcase_14 AC 976 ms
65,672 KB
testcase_15 AC 960 ms
65,688 KB
testcase_16 AC 972 ms
65,700 KB
testcase_17 AC 971 ms
65,684 KB
testcase_18 AC 966 ms
65,660 KB
testcase_19 AC 1,011 ms
65,664 KB
testcase_20 AC 967 ms
65,680 KB
testcase_21 AC 968 ms
65,680 KB
testcase_22 AC 973 ms
65,672 KB
testcase_23 AC 966 ms
65,684 KB
testcase_24 AC 974 ms
65,696 KB
testcase_25 AC 972 ms
65,672 KB
testcase_26 AC 969 ms
65,700 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner

object Main extends App {
  val sc = new Scanner(System.in)

  val an = Array.fill(4)(sc.nextInt)
  println(if(an(0) < an(1) && an(2) > an(3)) "YES" else "NO")
}
0