結果

問題 No.2051 Divide
ユーザー a aa a
提出日時 2022-10-14 14:42:19
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 142 bytes
コンパイル時間 99 ms
コンパイル使用メモリ 10,576 KB
実行使用メモリ 7,956 KB
最終ジャッジ日時 2023-09-08 19:42:21
合計ジャッジ時間 1,432 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 AC 14 ms
7,852 KB
testcase_13 AC 14 ms
7,700 KB
testcase_14 AC 15 ms
7,764 KB
testcase_15 AC 15 ms
7,752 KB
testcase_16 AC 14 ms
7,856 KB
testcase_17 RE -
testcase_18 RE -
testcase_19 RE -
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 RE -
testcase_24 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b=list(map(int,input().split()))
if a%b==0:
    n=1
    for i in range(a//b):
        if a%(b*i)==0:
            n+=1
else:
    n=0
print(n)
0