You are viewing a single comment's thread. Return to all comments →
Take it this way..if the gcd of al nos in the array is >=2 and if the gcd exists in the array itself..den print NO..else print YES
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and GCD
You are viewing a single comment's thread. Return to all comments →
Take it this way..if the gcd of al nos in the array is >=2 and if the gcd exists in the array itself..den print NO..else print YES