結果

問題 No.1850 Rewrite Product
ユーザー MitarushiMitarushi
提出日時 2022-01-04 21:06:42
言語 Nim
(2.0.2)
結果
AC  
実行時間 387 ms / 2,000 ms
コード長 254 bytes
コンパイル時間 6,497 ms
コンパイル使用メモリ 68,124 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-08-09 05:23:46
合計ジャッジ時間 6,891 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,376 KB
testcase_01 AC 387 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import strutils, sequtils


proc solve() =
    var x, y: int
    (x, y) = stdin.readLine.split.map parseInt

    if x <= 4 and y <= x or x >= 5:
        echo "Yes"
    else:
        echo "No"

let t = stdin.readLine.parseInt
for _ in 0..<t:
    solve()

0