1
0
Fork 0
projecteuler/primes.h

5 lines
186 B
C
Raw Normal View History

2016-12-01 20:42:56 +00:00
bool isPrime (int n);
bool isPrimeMem (int n, int* primes);
int listOfPrimes (int n, int** primes_ptr, bool** primesTable_ptr);
void sieveOfEratosthenes (int n, bool** primesTable_ptr);