C. 练28.2 满足条件的数累加

    Type: Default 1000ms 256MiB

练28.2 满足条件的数累加

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

Write a program to calculate the sum of all numbers between positive integers mm and nn (inclusive) that are divisible by 17. Here, 0<m<n<10000 < m < n < 1000.

Input Format

A single line containing two integers mm and nn, separated by a space.

Output Format

Output a single line containing an integer representing the sum.

Sample

50 85
204

20251101B班作业(5)

Not Claimed
Status
Done
Problem
4
Open Since
2025-11-1 0:00
Deadline
2025-11-9 23:59
Extension
24 hour(s)