Non-repeated factor

xiaoxiao2021-03-05  23

Non-repeated factor

#include using namespace std; void find (int N) {INT I, J; for (i = 2; i <= n; i ) {if (n% i == 0) {j = n / i ; If (j == 1) cout << i << Endl; else {cout << i << ""; while (n% i == 0) n / = i; Find (n);} return;} }}} int Main () {INT I; CIN >> I; Find (i); system ("pause"); return 0;}

转载请注明原文地址:https://www.9cbs.com/read-35629.html

New Post(0)