Cody

Problem 45274. Fangs of pseudo-vampire number

given a number, find all the fangs of that number.

A pseudo-vampire number can have multiple of fangs. The output should be a cell containing all the pairs of possible fangs.

For example, 126 is a pseudo-vampire number whose fangs are - { '6' , '21' }

  • 126 = 6*21
  • 6 and 21 contains the digits of the original number.

https://en.wikipedia.org/wiki/Vampire_number

Solution Stats

42.11% Correct | 57.89% Incorrect
Last Solution submitted on Apr 06, 2020