結果
| 問題 | No.1224 I hate Sqrt Inequality |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-17 09:51:33 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 92 ms / 2,000 ms |
| + 716µs | |
| コード長 | 203 bytes |
| 記録 | |
| コンパイル時間 | 298 ms |
| コンパイル使用メモリ | 21,468 KB |
| 実行使用メモリ | 15,916 KB |
| 最終ジャッジ日時 | 2026-08-31 15:14:03 |
| 合計ジャッジ時間 | 2,871 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
ソースコード
def b(x):return x if x%2 else b(x/2)
def f(x):return x if x%5 else f(x/5)
n,m=map(lambda x: b(f(int(x))),input().split())
s=str(n/m)
print("Yes" if (len(s)>10 or s.find('e')>0) and n%m and m>1 else "No")