Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

TUDORTEA's blog

By TUDORTEA, history, 6 years ago, In English

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.

Full text and comments »

  • Vote: I like it
  • -19
  • Vote: I do not like it