結果

問題 No.1850 Rewrite Product
ユーザー yudedakoyudedako
提出日時 2022-03-01 11:40:17
言語 Scala(Beta)
(3.4.0)
結果
AC  
実行時間 1,752 ms / 2,000 ms
コード長 430 bytes
コンパイル時間 13,819 ms
コンパイル使用メモリ 256,480 KB
実行使用メモリ 69,224 KB
最終ジャッジ日時 2023-09-21 23:10:51
合計ジャッジ時間 17,918 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 963 ms
62,024 KB
testcase_01 AC 1,752 ms
69,224 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import scala.collection.mutable.*
import scala.io.StdIn.*
import scala.util.chaining.*
import scala.math.*
import scala.reflect.ClassTag
import scala.util.*
import scala.annotation.tailrec
import scala.collection.mutable


@main def main =
  val testCase = readLine.toInt
  for _ <- 0 until testCase do
    val Array(x, y) = readLine.split(' ').map(_.toInt)
    println{
      if x >= y || x > 4 then "Yes"
      else "No"
    }
0