addingreminders


Submit solution

Points: 10 (partial)
Time limit: 8.0s
Memory limit: 64M

Authors:
Problem type
Allowed languages
C

Write a program to calculate sum of remainders obtained by dividing with modular division ­operations. For example given in the sample input perform modulo operation by 3 between numbers 1 to 19.

Sample input:

3 1 19

sample output:

18


Comments

There are no comments at the moment.