Write a function that returns the sum of the divisors of a number @n@.
For instance, the sum of the divisors of 28 is .
| C++,C | |
| Java | |
| Python | |
|
@n@ .
You only need to submit the required procedure; your main program will be ignored.
Author: Unknown
Translator: Salvador Roura
Generation: 2026-01-25T12:09:11.932Z
© Jutge.org, 2006–2026.
https://jutge.org