Giving wa for some test cases

1 is not T-prime, but it is showing YES in ur code.

yea , right , but still wrong ans for 2 test cases :frowning:

Consider the case: if the number is 64. Its square root is 8 and 8*8=64 but 64 is not T-prime.