結果
問題 | No.1850 Rewrite Product |
ユーザー |
|
提出日時 | 2022-03-01 11:40:17 |
言語 | Scala(Beta) (3.6.2) |
結果 |
AC
|
実行時間 | 1,579 ms / 2,000 ms |
コード長 | 430 bytes |
コンパイル時間 | 10,470 ms |
コンパイル使用メモリ | 258,400 KB |
実行使用メモリ | 72,380 KB |
最終ジャッジ日時 | 2024-07-07 16:12:13 |
合計ジャッジ時間 | 14,703 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 1 |
ソースコード
import scala.collection.mutable.*import scala.io.StdIn.*import scala.util.chaining.*import scala.math.*import scala.reflect.ClassTagimport scala.util.*import scala.annotation.tailrecimport scala.collection.mutable@main def main =val testCase = readLine.toIntfor _ <- 0 until testCase doval Array(x, y) = readLine.split(' ').map(_.toInt)println{if x >= y || x > 4 then "Yes"else "No"}