Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   C++ (http://www.domainnameforum.org/forumdisplay.php?f=123)
-   -   Finding smallest prime divider of NUM (http://www.domainnameforum.org/showthread.php?t=152175)

C++ 03-26-2011 09:50 PM

Finding smallest prime divider of NUM
 
im looking for a more efficient algorithm, is there any known one? ive checked my math books and c++ book and really didnt find anything more efficient than the following : <div class="codeblock"> <div class="spaced"> <div>C++ Syntax (


All times are GMT -4. The time now is 05:25 PM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.