結果

問題 No.1224 I hate Sqrt Inequality
ユーザー mesame3993
提出日時 2021-11-18 02:02:48
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 250 bytes
コンパイル時間 209 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 52,480 KB
最終ジャッジ日時 2024-12-24 12:44:21
合計ジャッジ時間 1,740 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
  from sys import stdin
  import math
  readline=stdin.readline
  a,b = map(int, readline().split())
  b //= math.gcd(a, b)
  if b % 2 != 0:
    if b % 5 != 0:
      print('Yes')
    else:
      print('No')
  else:
    print('No')
main()
0