結果
問題 | No.2417 Div Count |
ユーザー | watayu |
提出日時 | 2023-08-12 15:00:15 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 237 bytes |
コンパイル時間 | 184 ms |
コンパイル使用メモリ | 82,252 KB |
実行使用メモリ | 60,016 KB |
最終ジャッジ日時 | 2024-04-30 07:45:01 |
合計ジャッジ時間 | 7,621 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 30 ms
60,016 KB |
testcase_01 | AC | 34 ms
59,016 KB |
testcase_02 | WA | - |
testcase_03 | AC | 35 ms
53,376 KB |
testcase_04 | AC | 30 ms
52,320 KB |
testcase_05 | AC | 31 ms
52,560 KB |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | AC | 32 ms
53,488 KB |
testcase_12 | AC | 32 ms
53,196 KB |
testcase_13 | AC | 34 ms
58,976 KB |
testcase_14 | AC | 33 ms
58,868 KB |
testcase_15 | WA | - |
testcase_16 | AC | 34 ms
57,792 KB |
testcase_17 | WA | - |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | AC | 41 ms
58,212 KB |
testcase_21 | WA | - |
testcase_22 | WA | - |
testcase_23 | AC | 55 ms
57,712 KB |
testcase_24 | WA | - |
testcase_25 | AC | 33 ms
52,736 KB |
testcase_26 | AC | 563 ms
57,464 KB |
testcase_27 | AC | 1,989 ms
57,988 KB |
testcase_28 | WA | - |
testcase_29 | WA | - |
testcase_30 | WA | - |
testcase_31 | WA | - |
testcase_32 | TLE | - |
testcase_33 | -- | - |
testcase_34 | -- | - |
testcase_35 | -- | - |
testcase_36 | -- | - |
testcase_37 | -- | - |
testcase_38 | -- | - |
testcase_39 | -- | - |
testcase_40 | -- | - |
testcase_41 | -- | - |
testcase_42 | -- | - |
ソースコード
n,k = map(int, input().split()) def divisors(num): divisors = [] for i in range(k+1, num//2+1): if num%i ==0: divisors.append(i) divisors.append(num) return divisors ans = divisors(n-k) print(len(ans))