WEBSITE RETURNED, HOWEVER SUBMIT QUANTITY IS RESTRICTED PER DAY TO VERY LITTLE (UNDER JUDGE0 NEW POLICY, API PROVIDER). Therefore it is very much for you to pay attention TEST CAREFULLY CODE BEFORE SUBMIT.

General estimate (hard version)

Threads:Given a number n, sum the divisors of the number n(n . not included)!
Input: A unique number n. N <= 10^18.
Output: Sum of the divisors of n.

Suggestions: check prime number first.
For example:

input:
3
output:
1

You are not logged in? Log in to Submit Now!

Add a Comment