Square Divisors
Submissions: 1590   Accuracy:

26.37%

  Difficulty: Basic   Marks: 1

Given a number N.Your task is to print the no of divisors of number N which are perfect squares.

Input :
The first line of input contains an integer T, denoting number of test cases.Then T test cases follow. The first line of each test case contains an integer N.

Output :
For each test case in a new line print the answer .

Constraints :
1<=T<=10
1<=N<=10^12

Example:
Input :

2
36
60

Output :
4
2

 

** For More Input/Output Examples Use 'Expected Output' option **

Author: Sonesh Shukla


If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.

to report an issue on this page.