Link of the problem is https://www.spoj.com/problems/PRIMES2 .↵
↵
Which algorithm should be used to solve this problem? And how **wheelSieve** + segmentedSieve is implemented?↵
↵
Thank you in advance.
↵
Which algorithm should be used to solve this problem? And how **wheelSieve** + segmentedSieve is implemented?↵
↵
Thank you in advance.