-->
当前位置:首页 > 题库

PROGRAMMING:The sum of divisors of Keven

Luz5年前 (2021-05-10)题库394
$$Bear\_ 2 $$successfully constructed the equation given by $$Keven $$and asked him to work out the problem. As a result, $$Keven $$said that he would wait for him to work out the sum of divisors of all numbers from $$1 $$to $$n $$, that is, $$sum_{ i=1}^n \sum_{ d|i}1$$ 。
###Input format:
The first line gives the number of sample groups $$t (1 < = T < = 10)$$
After the T line, each line gives a positive integer $$n (1 < = n < = 10 ^ {10})$$
###Output format:
For each group of inputs, output the number in one line.
###Input example:
Here is a set of inputs. For example:
```in
three
one
two
three
```
###Output example:
The corresponding output is given here. For example:
```out
one
three
five
```
###Tips
20% of the data, $$(1 < = n < = 10 ^ 3)$$
40% of the data, $$(1 < = n < = 10 ^ 5)$$
80% of the data, $$(1 < = n < = 10 ^ 6)$$
100% data, $$(1 < = n < = 10 ^ {10})$$







answer:If there is no answer, please comment