結果

問題 No.1850 Rewrite Product
ユーザー c-yanc-yan
提出日時 2022-02-25 22:53:48
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 321 ms / 2,000 ms
コード長 257 bytes
コンパイル時間 742 ms
コンパイル使用メモリ 10,508 KB
実行使用メモリ 8,144 KB
最終ジャッジ日時 2023-09-16 18:08:52
合計ジャッジ時間 1,071 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,776 KB
testcase_01 AC 321 ms
8,144 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from sys import stdin

readline = stdin.readline

T = int(readline())
for _ in range(T):
    X, Y = map(int, readline().split())
    if X <= 4:
        if Y <= X:
            print('Yes')
        else:
            print('No')
    else:
        print('Yes')
0