diff --git a/ws2019/ipi/uebungen/primfaktorzerlegung.cpp b/ws2019/ipi/uebungen/primfaktorzerlegung.cpp index f1d95e8..79ab3de 100644 --- a/ws2019/ipi/uebungen/primfaktorzerlegung.cpp +++ b/ws2019/ipi/uebungen/primfaktorzerlegung.cpp @@ -6,14 +6,12 @@ int main() { int k=2; // go until sqrt(n) while (k <= sqrt(n)) { - printf("searching for dividers for %d, checking %d\n", n, k); // k is factor of n if (n % k == 0) { // print out the factor k print(k); // reset n to the quotient n = n / k; - printf("found %d, setting n=%d\n", k, n); // restart at k=2 k = 2; } else {