結果

問題 No.2051 Divide
ユーザー aaaaaaaaaa2230
提出日時 2022-08-21 13:26:01
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 188 bytes
コンパイル時間 242 ms
コンパイル使用メモリ 82,284 KB
実行使用メモリ 59,392 KB
最終ジャッジ日時 2024-10-10 06:05:00
合計ジャッジ時間 2,128 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 2 WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b = map(int,input().split())
ans = set()
for i in range(1,10**5):
    if a%i or b%i:
        continue
    ans.add(i)
    
    x = a//i
    if b%x == 0:
        ans.add(x)
print(len(ans))
0