All test case are right except 0,1

my program work according to question just case 1 and case 0 showing error

@deepgarg46 You don’t always have to cube the digits. For example : if no. given is 4567 then you have to fourth power of every digit add them and check if it is equal to original No.