A problem that I can't solve from two years

Правка en1, от Mohamed_Saad62, 2020-10-12 04:11:32

I really want to know how to solve this problem :

You are given two positive integers d and s. Find minimal positive integer n which is divisible by d and has sum of digits equal to s.

the link : https://codeforces.net/contest/1070/problem/A

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Mohamed_Saad62 2020-10-12 04:11:32 291 Initial revision (published)