結果
問題 | No.1224 I hate Sqrt Inequality |
ユーザー |
![]() |
提出日時 | 2020-09-11 21:44:11 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 185 bytes |
コンパイル時間 | 335 ms |
コンパイル使用メモリ | 82,688 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-06-11 21:19:02 |
合計ジャッジ時間 | 1,329 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 13 |
ソースコード
def gcd(a,b): while b: a,b=b,a%b return a a,b=map(int,input().split()) b//=gcd(a,b) while not(b%2): b//=2 while not(b%5): b//=5 if b!=1: print("Yes") else: print("No")