Cody

Problem 156. Parasitic numbers

Test whether the first input x is an n-parasitic number: http://en.wikipedia.org/wiki/Parasitic_number. ( n is the second input.)

Examples:

parasitic(128205,4) ---> true

parasitic(179487,4) ---> true

parasitic(179487,3) ---> false

Solution Stats

55.91% Correct | 44.09% Incorrect
Last Solution submitted on Jun 05, 2020

Problem Comments

Solution Comments


Problem Recent Solvers265

Problem Tags