寻找可能的奇数除数的循环 [英] loop for finding possible odd divisors

查看:108
本文介绍了寻找可能的奇数除数的循环的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找另一个我想要的东西是一个循环来检查所有可能的奇怪因素,如果我能做到这一点我可以找到18个以下的所有素数我认为并将它们存储在文件中(是​​的我剩下近200 GB的空间)。还要感谢在文件中找到位置的线程它帮助我阻止文件在MS-DOS中大大打开

I''m making a prime finder another thing I''d like is a loop to check all possible odd factors if I can do that i can find all primes under 18 quintillion I think and store them in files ( yes I have nearly 200 GB of space left). also thanks for the thread on finding position in a file it helped me stop the file getting to big too open in MS-DOS

展开 | 选择 | 换行 | 行号

推荐答案

你在开玩笑吧?在他/她的正确思想中没有人写出这样的代码。看看这个:

You''re kidding us right? Nobody in his/her right mind writes code like that. Have a look at this:

展开 | 选择 | Wrap | 行号


甚至不知道这可能就是为什么我从来没有像那样
don''t even understand that maybe that''s why I never made it like that


同时Jos我正在寻找一个循环来缩短它而不是我是多么疯狂的旁注
Also Jos I''m looking for a loop to shorten it not a sidenote of how crazy i am


这篇关于寻找可能的奇数除数的循环的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆