Problem 156. Parasitic numbers

Test whether the first input x is an n-parasitic number: ( n is the second input.)


parasitic(128205,4) ---> true

parasitic(179487,4) ---> true

parasitic(179487,3) ---> false

Solution Stats

55.68% Correct | 44.32% Incorrect
Last Solution submitted on Jan 10, 2020

Problem Comments

Solution Comments

Problem Recent Solvers210

Suggested Problems

More from this Author23

Problem Tags