Toggle navigation
编绘童年
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem G: 累加器-奇数中3的倍数的和
Problem G: 累加器-奇数中3的倍数的和
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
688
Solved:
421
[
Status
] [
Submit
] [Creator:
]
Description
编写程序,输入一个正整数n,将1~n中所有奇数中3的倍数的和算出来
Input
10
Output
12