Type: Default 1000ms 256MiB

倍数之和

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目背景

如果一个数字 aa, 能被另一个数字 bb 整除, 则数字 bbaa 的倍数.

题目描述

我们现在想知道, 给你一个数字 nn, 求小于 nn 的所有 3355 的正整数倍数之和.

数据格式

输入格式

多组数据

第一行输入一个整数 tt, 表示有 tt 组数据,

接下来每一行一个整数 nn.

输出格式

输出 tt 行, 每行一个整数表示答案.

样例

2
10
1000
23
233168

数据范围

1<=t<=100 1 <= t <= 100

1<=n<=10000 1<= n <= 10000

[北辰杯 North-Star-Cup] 五月复现赛

Not Attended
Status
Done
Rule
Ledo
Problem
12
Start at
2023-5-22 18:00
End at
2023-6-16 18:00
Duration
600 hour(s)
Host
Partic.
41