#C11009. for循环输出n到m的倍数和
for循环输出n到m的倍数和
Background背景
请用for循环输出n到m的7的倍数的和。例如:1-100之间7的倍数的和:7+14+21+28+……+98 = 735。
Input输入
输入两个整数n,m。
Output输出
输出n,m的7的倍数和。
Samples样例
1 20
21
Limitation限制
1s, 1024KiB for each test case.
请用for循环输出n到m的7的倍数的和。例如:1-100之间7的倍数的和:7+14+21+28+……+98 = 735。
输入两个整数n,m。0≤m,n≤109
输出n,m的7的倍数和。
1 20
21
1s, 1024KiB for each test case.
By signing up a 霖家编程 universal account, you can submit code and join discussions in all online judging services provided by us.