Submit | All submissions | Best solutions | Back to list |
EIUPH006 - Prime divisor |
Given an integer n, find the number of prime factors of n.
Input
The only integer N (N<=4*10^5).
Output
The number of prime factors
Example
Input: 15 Output: 2
Added by: | Ha Minh Ngoc |
Date: | 2015-01-28 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | C CSHARP C++ 4.3.2 CPP CPP14 JAVA |