結果

問題 No.1850 Rewrite Product
ユーザー 👑 Kazun
提出日時 2022-02-25 21:27:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 101 ms / 2,000 ms
コード長 273 bytes
コンパイル時間 150 ms
コンパイル使用メモリ 82,912 KB
実行使用メモリ 79,644 KB
最終ジャッジ日時 2024-07-03 16:05:52
合計ジャッジ時間 772 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=sys.stdin.readline
write=sys.stdout.write

T=int(input())
Ans=[0]*T
for t in range(T):
    X,Y=map(int,input().split())
    if X<=4:
        if X>=Y:
            Ans[t]=1
    else:
        Ans[t]=1

write("\n".join(map(lambda x:"Yes" if x else "No",Ans)))
0