fixed bug

If used prime numbers it occurred an error.
This commit is contained in:
Christian Bender 2018-03-17 15:53:00 +01:00 committed by GitHub
parent 8b2bab4d11
commit cdb057f613
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,15 +30,6 @@ void SieveOfEratosthenes(int N)
} }
void printDebug()
{
// Prime factors with their powers in the given number in new line
for(auto it: prime_numbers)
{
cout<< it << endl;
}
}
// Prime factorization of a number // Prime factorization of a number
void prime_factorization(int num) void prime_factorization(int num)
{ {