Cody

Problem 45272. Pseudo-vampire number

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

Given a number x, determine whether it is a pseudo-vampire number.

A pseudo-vampire number is similar to vampire numbers except -

  • It can be of any length unlike the vampire numbers which have even no of digits.
  • It can have n-number of fangs which need not to be of the same length unlike the vampire numbers which can have only two fangs.
  • But the fangs must contain precisely all the digits of the original number.

Solution Stats

10.94% Correct | 89.06% Incorrect
Last Solution submitted on Feb 12, 2020

Problem Comments