Is it possible to know where I am going wrong…I am doing what was mentioned in the editorial for this problem
Factorial Problem
you need to print 0, if the list is empty else print the minimum element present in the list and it is possible for k to have prime factor greater than 10^5 so no need to make a prime list, please do as done in editorial
Thanks a lot. I missed that case