Guest User

Untitled

a guest
Aug 15th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. Sieve of Erathostenes.. find primes in range. How to get starting point?
  2. int a = 2;
  3. //run thread 1
  4. while(sieve[a] == false)
  5. a++;
  6. //run thread 2
  7. //etc.
Add Comment
Please, Sign In to add comment