Last active
August 23, 2016 18:11
-
-
Save kimwalisch/0f8a30ee9c4ae5f0d00b9c845b0e82ed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Compile using default C++ compiler | |
| c++ -O2 segmented_sieve.cpp -o segmented_sieve | |
| # Count the primes below 10^9 | |
| time ./segmented_sieve 1000000000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment