Problem4318--计算1~n所有3的倍数的和4318: 计算1~n所有3的倍数的和
Time Limit: 1.000 Sec Memory Limit: 128 MB
Submit: 102 Solved: 71
[Submit] [Status] [Web Board] [Creator:]Description
输入整数n,计算1……n之内所有的3的倍数之和.
Sample Input
9
Sample Output
18
Source/Category
[Submit] [Status]