Find the smallest number that consist of only number 1's (e.g. 11111111111) which satisfy a given divisor and remainder. Then return the sum of its digits.

Example:

 remainder = 7
 divisor = 12

then dividend = 1111 and the resulting sum is 4.

Solution Stats

54 Solutions

24 Solvers

Last Solution submitted on Jan 03, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...