Number of Divisors
Practice
4.4 (9 votes)
Open
Algorithms
Approved
Easy
Mathamatics
Problem
88% Success 10468 Attempts 20 Points 1s Time Limit 256MB Memory 1024 KB Max Code

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

Please login to use the editor

You need to be logged in to access the code editor

Loading...

Please wait while we load the editor

Loading...
Results
Custom Input
Run your code to see the output
Submissions
Please login to view your submissions
Similar Problems
Points:20
4 votes
Tags:
Easy
Points:20
Tags:
Easy
Points:20
Tags:
Easy