I was trying to submit the code in cpp but it didn’t gave me 100%.
When I write the same code in python 3 it gave me 100%
Where did my code went wrong
Code does not give complete 100 point in cpp
problem statment is: We know that prime numbers are positive integers that have exactly two distinct positive divisors. Similarly, we’ll call a positive integer t Т-prime, if t has exactly three distinct positive divisors. You are given an array of n positive integers. For each of them determine whether it is Т-prime or not.
Okay I found the problem while sending it to you