How to solve it

Revision en1, by prathams, 2015-07-17 20:38:08

We call a natural number supernatural if it does not contain any ones in its decimal representation and the product of its digits is equal to n. For given n, find how many supernatural numbers exist.

Constraint : The input contains a single integer n not exceeding 2×109.

Output modulo 101.

I got this problem on link

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English prathams 2015-07-18 10:13:07 888 Tiny change: 'w code :\n\n~~~~~~\n\n#include' -
en1 English prathams 2015-07-17 20:38:08 394 Initial revision (published)