why i am getting wrong answers here in 2 of the cases…although i have written the write code
Why i am getting wrong answers here in 2 of the cases....although i have written the write code
@Ayushmahajan513 constraints are upto 5000000 and 5000000th prime number lies around 10^8 so check for prime upto10^8.
got it sir
thankyou sir
1 Like