結果

問題 No.1850 Rewrite Product
コンテスト
ユーザー titan23
提出日時 2022-06-24 13:34:54
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 116 ms / 2,000 ms
コード長 300 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 743 ms
コンパイル使用メモリ 85,376 KB
実行使用メモリ 83,272 KB
最終ジャッジ日時 2026-05-08 12:12:02
合計ジャッジ時間 1,772 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 1
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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