結果

問題 No.1829 Möbius Tunnelling
ユーザー yudedakoyudedako
提出日時 2022-02-17 20:14:29
言語 Scala(Beta)
(3.4.0)
結果
AC  
実行時間 959 ms / 2,000 ms
コード長 358 bytes
コンパイル時間 11,838 ms
コンパイル使用メモリ 257,720 KB
実行使用メモリ 62,060 KB
最終ジャッジ日時 2023-09-11 17:51:26
合計ジャッジ時間 36,180 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 930 ms
61,956 KB
testcase_01 AC 936 ms
61,476 KB
testcase_02 AC 933 ms
61,964 KB
testcase_03 AC 943 ms
61,856 KB
testcase_04 AC 945 ms
61,936 KB
testcase_05 AC 941 ms
61,968 KB
testcase_06 AC 940 ms
61,604 KB
testcase_07 AC 951 ms
62,060 KB
testcase_08 AC 935 ms
61,844 KB
testcase_09 AC 935 ms
61,924 KB
testcase_10 AC 937 ms
61,888 KB
testcase_11 AC 939 ms
61,848 KB
testcase_12 AC 950 ms
62,020 KB
testcase_13 AC 950 ms
61,928 KB
testcase_14 AC 948 ms
61,516 KB
testcase_15 AC 943 ms
61,816 KB
testcase_16 AC 931 ms
61,528 KB
testcase_17 AC 936 ms
61,788 KB
testcase_18 AC 937 ms
61,896 KB
testcase_19 AC 950 ms
61,864 KB
testcase_20 AC 959 ms
61,880 KB
testcase_21 AC 948 ms
61,892 KB
testcase_22 AC 939 ms
61,700 KB
testcase_23 AC 957 ms
61,956 KB
testcase_24 AC 929 ms
61,972 KB
testcase_25 AC 936 ms
61,900 KB
testcase_26 AC 932 ms
61,896 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import scala.collection.mutable
import scala.collection.mutable.ArrayBuffer
import scala.io.StdIn.*
import scala.util.chaining.*
import scala.math.*


@main def main =
  val n = readLine.toInt
  val Array(a, b, c) = readLine.split(' ').map(_.toInt)
  if a < b then
    println(if a < c then "Yes" else "No")
  else
    println(if c < a then "Yes" else "No")
0