luogu#P4127. [AHOI2009] 同类分布
[AHOI2009] 同类分布
Problem Description
Given two numbers , find the count of integers in whose sum of digits divides the number itself.
Input Format
One line, two integers and .
Output Format
A single integer representing the answer.
10 19
3
Hint
For all testdata, .
Translated by ChatGPT 5