Kindly solve problem in code

problem link
https://hack.codingblocks.com/app/practice/6/1039/problem
code link

i have also used concept of prime sieve but i’m getting tle

hello @laksh.rustagi12

there is some issue with checker ,it is not compiling code.pls waitfor sometime ,it will be resolved soon.