Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
5 Задача
Skufler
Jan 27th, 2017
52
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 2; n != 1; i++) {
if (n % i == 0) {
cout << i << " ";
n = n / i;
i = 1;
}
}
return 0;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
work.png.txt
3 hours ago | 475.67 KB
Disable Drag and Drop Image Improved Plugin i...
PHP | 4 hours ago | 1.31 KB
SAVE
5 hours ago | 0.06 KB
ZELAH
5 hours ago | 0.01 KB
z66is_archive.zip.txt
6 hours ago | 1.53 KB
programming
7 hours ago | 0.03 KB
thought
7 hours ago | 0.14 KB
STORY ENGINE
7 hours ago | 1.14 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!