Prateek loves candy plc


why is testcase showing no ouput

@Vibhuti0206
Run your loops till 10^6 as specified in the problem statement rather than till 100. This will generate the output however your code gives TLE as it is not optimised. Try optimising it by precomputing the nth prime numbers and storing them in an array/vector.