We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86275c2 commit 40b4bd8Copy full SHA for 40b4bd8
segmentedSieve.cpp
@@ -1,5 +1,6 @@
1
//Program to generate all primes in the range[m,n]
2
//seg_sieve[i] indicates whether i+m is prime or not
3
+// seg_sieve[i] = false ==> (i+m) is a prime
4
#include <bits/stdc++.h>
5
#define ll long long
6
using namespace std;
0 commit comments