結果

問題 No.1850 Rewrite Product
ユーザー titan23titan23
提出日時 2022-06-24 13:34:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 124 ms / 2,000 ms
コード長 300 bytes
コンパイル時間 173 ms
コンパイル使用メモリ 82,280 KB
実行使用メモリ 78,644 KB
最終ジャッジ日時 2024-04-25 18:19:58
合計ジャッジ時間 1,042 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
52,704 KB
testcase_01 AC 124 ms
78,644 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda: sys.stdin.readline().rstrip()

#  -----------------------  #

def main():
  x, y = map(int, input().split())
  if x == y:
    return 'Yes'
  if x > y:
    return 'Yes'
  if x >= 5:
    return 'Yes'
  return 'No'


print('\n'.join(str(main()) for _ in range(int(input()))))
0