I was trying to solve this problem PRIME PROBLEM . There is no editorial for this problem . I tried to solve this problem and saw some solutions but could not understand logic behind the solutions. Can anybody explain ?
Help in PRIME PROBLEM .
I was trying to solve this problem PRIME PROBLEM . There is no editorial for this problem . I tried to solve this problem and saw some solutions but could not understand logic behind the solutions. Can anybody explain ?