Square Divisors
Basic Accuracy: 26.21% Submissions: 1626 Points: 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 <= 1012

Example:
Input :

2
36
60

Output :
4
2

 

to report an issue on this page.

Editorial

We strongly recommend solving this problem on your own before viewing its editorial. Do you still want to view the editorial?

Yes

All Submissions

My Submissions:

Login to access your submissions.