結果
問題 |
No.1829 Möbius Tunnelling
|
ユーザー |
|
提出日時 | 2022-02-17 20:14:29 |
言語 | Scala(Beta) (3.6.2) |
結果 |
AC
|
実行時間 | 919 ms / 2,000 ms |
コード長 | 358 bytes |
コンパイル時間 | 9,266 ms |
コンパイル使用メモリ | 250,484 KB |
実行使用メモリ | 64,812 KB |
最終ジャッジ日時 | 2024-06-29 07:48:27 |
合計ジャッジ時間 | 35,331 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 24 |
ソースコード
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")