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
Sir in my two test cases are failing can you tell me what should I do?
hello @yashme7125
i cannot see any code .
pls save it here ->https://ide.codingblocks.com/
and share the link with me
see the size of n , u cannt prepare that big size sieve.
follow this->
Algorithm
- Generate All prime Factors of the number.
- Write a Function that calculates the sum of digits of passed number.
- Pass each generated Prime Factor to this digits sum function till you can generate prime factors.
- At last equate your sum with the sum of digits of given number.
4.1 If yes print 1.
4.2 otherwise print 0.

