Need Help...

Revision en2, by drifter_kabir, 2020-09-04 10:59:03

Given a & b(where(1<=a,b<=20), find sum of all integers whose digit sum is exactly $$$a^{b}$$$.

Return sum%10^9+7

Update: Sorry I missed one thing. The sum of all numbers whose each digit is non-zero.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English drifter_kabir 2020-09-04 10:59:03 90
en1 English drifter_kabir 2020-09-04 03:02:00 124 Initial revision (published)