All Tracks Math Problem

Number of Divisors
/

Algorithms, Mathamatics

Problem
Editorial
Analytics

Given a number N, find total number of divisors of N.

Input:
First line contains number of test cases T. Each test case contains a single integer N.

Output:
For each test case print number of divisors of N.

Constraints:

Test Files 1 to 5
1<=T<=20
1<=N<=1000000

Test Files 6 to 10
1<=T<=1000
1<=N<=1012

SAMPLE INPUT
3
4
5
6

SAMPLE OUTPUT
3
2
4
Time Limit: 1.0 sec(s) for each input file.
Memory Limit: 256 MB
Source Limit: 1024 KB

Best Submission

Similar Problems

Contributors

Initializing Code Editor...
Notifications
View All Notifications

?