i am getting all test cases passed except 1,
tell me test case please and why that test case is not handled.
https://ide.codingblocks.com/s/188738
My solution,in this i am first storing factors of k in a vector “v”,and then among these factors storing only prime factors in a vector “factor” ,then using largest prime factor to find my answer.
Which test case/cases i am not handling?
Hey @chhabrapiyush480
Your answer is wrong for the case : 40335377 61296961
Your answer is 161340
It should be 136267
See if you can figure out the issue once
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.