結果
問題 |
No.2051 Divide
|
ユーザー |
![]() |
提出日時 | 2022-08-23 13:42:57 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 45 ms / 2,000 ms |
コード長 | 165 bytes |
コンパイル時間 | 346 ms |
コンパイル使用メモリ | 82,184 KB |
実行使用メモリ | 58,808 KB |
最終ジャッジ日時 | 2024-10-10 21:16:00 |
合計ジャッジ時間 | 2,213 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 23 |
ソースコード
def divisors(x): test=1 ans=0 while test**2<x: ans+=2*(x%test==0) test+=1 return ans+(test**2==x) A,B=map(int,input().split()) print(divisors(A//B)*(A%B==0))