Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Prime Factor
//g++ 5.4.0 #include <iostream> int main() { long x,n; n=600851475143; for(x=2;x<n;x++) { while(n%x==0 && x<n) { n=n/x; } } std::cout<<x; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
on_off
Abejas beta
Interest Compounding
День Программиста
Dar
area of a circle using pointer
Round prices
Second program
Height of a binary tree
Запаковать строку в JSON (Boost)
stackse - search stackoverflow differently
Please log in to post a comment.