Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
58789 陈宣霖 【循环】整除问题(divide) Python3 Accepted 48 MS 3756 KB 94 2023-10-01 14:37:41

Tests(5/5):


Code:

n=int(input()) t=0 for i in range(1,n+1): if i%3==0 and i%5==0: t+=i print(t)