My one test case is passed but others are not getting passed, maybe I am not getting the problem correctly.
please can you specify this question with another test case…
by the way, this is the link to my code:-
Playing with cards
Consider this:
hmm…
I was thinking that we have to check the number is divisible by ith prime only once.
I interpreted it in the wrong way.
thank you for clearing my doubt.