結果

問題 No.1850 Rewrite Product
ユーザー c-yan
提出日時 2022-02-25 22:53:48
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 395 ms / 2,000 ms
コード長 257 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-07-03 17:50:51
合計ジャッジ時間 1,118 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 1
権限があれば一括ダウンロードができます

ソースコード

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