Is it possible to know where I am going wrong…I am doing what was mentioned in the editorial for this problem
Where am I going wrong
I am doing what is mentioned in the editorial…find the prime factors of k and see what can be the min possible multiple of all its prime factors
@gargayush34 please use seive for calculating prime number and also take list in input.I can give you reference C++ code if you still dont get it after correcting.