Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: spiwips

Problemset: ผลรวมตัวเลข

Language: python

Time: 0.011 second

Submitted On: 2025-09-30 21:46:41

start = int(input())
end = int(input())
ans = 0
for i in range(start,end):
    if not i%2 or not i%3:
        ans += i
print(ans)