Online Judge
Toggle navigation
C++题库系统 OJ
首页
问题列表
状态
排行榜
登录
首页
状态
58676
Run ID
作者
问题
语言
测评结果
Time
Memory
代码长度
提交时间
58676
木木老师
【循环】整除问题(divide)
Python3
Accepted
49 MS
3768 KB
107
2023-09-28 11:23:04
Tests(5/5):
Code:
n=int(input()) count=0 for i in range (1,n+1): if i%3==0 and i%5==0: count+=i print(count)