All test cases are not passing … plz help me … question and my code is in the following link --> https://ide.codingblocks.com/s/239045
All test cases are not passing .. plz help me .. question and my code is in the following link --> https://ide.codingblocks.com/s/239045
@Arnav7
You were trying to calculate factors of product of numbers
That wont work
Your global array for primes was upto 10^7 which will give memory constraint and time constraint issues
You had to calculate cnt of primes in representation of each number and then take their product
See this here
What you had to do was this https://www.codechef.com/viewsolution/33199972
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.