結果

問題 No.2417 Div Count
ユーザー pyt-314
提出日時 2023-08-12 14:05:21
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 117 bytes
コンパイル時間 441 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 21,120 KB
最終ジャッジ日時 2024-11-19 17:21:05
合計ジャッジ時間 59,011 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 23 TLE * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

n, k = map(int, input().split())
d = n - k
p = 0
for i in range(n):
    if n % (i + 1) == k:
        p += 1
print(p)
0