WoodMan 潛水喵 says to OwO
/c@mmis_js_bot #include "stdafx.h" #include <iostream> using namespace std; int main() { int n, i; cin >> n; i = 2; while( n > 1 ) { while( n % i == 0 ) { cout << i << " "; n = n / i; } i = i + 1; } cout << endl; system("pause"); return 0; }