FACTCG2 - Medium Factorization
The task in this problem is to write a number in a multiplication of prime numbers separated by “ x”. You need to put the
number 1 in this multiplication.
The input consists of several lines.
Each line consists of one integer N (1 <= N <= 10^7) .
For each line you need to output the factorization separated by “ x” and including 1.
Sample Output11 x 21 x 2 x 21 x 2 x 2 x 2
|Added by:||Phyllipe Medeiros|
|Cluster:||Cube (Intel Pentium G860 3GHz)|
Nice problem. The real challenge would be to do it in python!
lots of wrong answer because of X instead of x.
Can someone please provide me some test cases, I am getting wrong answer :(
how many test case we should take??
take care of output format : print " x " instead of "x".
good question..Learnt a new way of factorization.
minimize the use of long long ... may lead to tle..
After, So Many Tries Got AC.
what is number of lines ?
finally done.......after lots of tle