Sir in my two test cases are failing can you tell me what should I do?

Sir in my two test cases are failing can you tell me what should I do? the collaboration mode is on please point out my error

hello @yashme7125

i cannot see any code .

pls save it here ->https://ide.codingblocks.com/

and share the link with me

@yashme7125
image

see the size of n , u cannt prepare that big size sieve.

follow this->

Algorithm
  1. Generate All prime Factors of the number.
  2. Write a Function that calculates the sum of digits of passed number.
  3. Pass each generated Prime Factor to this digits sum function till you can generate prime factors.
  4. At last equate your sum with the sum of digits of given number.
    4.1 If yes print 1.
    4.2 otherwise print 0.