SP1754 DIVSUM2 - Divisor Summation (Hard)

Description

Given a natural number n (1

Input Format

An integer stating the number of test cases (equal to 500), and that many lines follow, each containing one integer between 1 and 1e16 inclusive.

Output Format

One integer each line: the divisor summation of the integer given respectively.