結果
問題 | No.2417 Div Count |
ユーザー | watayu |
提出日時 | 2023-08-12 14:19:02 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 178 bytes |
コンパイル時間 | 232 ms |
コンパイル使用メモリ | 82,224 KB |
実行使用メモリ | 59,232 KB |
最終ジャッジ日時 | 2024-04-30 05:41:55 |
合計ジャッジ時間 | 6,210 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 31 ms
58,904 KB |
testcase_01 | AC | 34 ms
57,732 KB |
testcase_02 | AC | 30 ms
52,368 KB |
testcase_03 | AC | 31 ms
51,944 KB |
testcase_04 | AC | 30 ms
52,672 KB |
testcase_05 | AC | 30 ms
52,528 KB |
testcase_06 | AC | 30 ms
52,420 KB |
testcase_07 | AC | 29 ms
53,040 KB |
testcase_08 | AC | 32 ms
52,864 KB |
testcase_09 | AC | 31 ms
52,992 KB |
testcase_10 | AC | 34 ms
52,828 KB |
testcase_11 | AC | 33 ms
57,604 KB |
testcase_12 | AC | 32 ms
57,652 KB |
testcase_13 | AC | 32 ms
57,352 KB |
testcase_14 | AC | 33 ms
57,256 KB |
testcase_15 | AC | 33 ms
57,672 KB |
testcase_16 | AC | 33 ms
57,872 KB |
testcase_17 | AC | 33 ms
57,736 KB |
testcase_18 | AC | 41 ms
58,520 KB |
testcase_19 | AC | 35 ms
57,464 KB |
testcase_20 | AC | 125 ms
56,908 KB |
testcase_21 | AC | 55 ms
56,972 KB |
testcase_22 | AC | 87 ms
58,716 KB |
testcase_23 | AC | 76 ms
59,172 KB |
testcase_24 | AC | 192 ms
57,128 KB |
testcase_25 | AC | 197 ms
58,536 KB |
testcase_26 | TLE | - |
testcase_27 | TLE | - |
testcase_28 | -- | - |
testcase_29 | -- | - |
testcase_30 | -- | - |
testcase_31 | -- | - |
testcase_32 | -- | - |
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 count_divisors(n, k): count = 0 for a in range(1, n + 1): if (n % a) == k: count += 1 return count print(count_divisors(n,k))