close
標題:
C++ Program pf seiving numbers
發問:
Hey everyone, i need a program that uses the seive of Eratosthenes(don't know how to speel, sorry!) to find all the prime numbers from 1-300. Can it be as simple as possible and pls be quick! 10000x thx! =) (pls don't include iostream.h, thx!)
最佳解答:
Here's the program. As usual, if you need details, see http://mathmate.brinkster.net/ and look under programming. #include #include #include int main(int argc, char *argv[]) { int a[301],i,j; for(i=0;i
- 3-6月時事題(20分)
- New Sir - @2866 一問@1@
- 201+202+203+...+401
- 係hk賣淫犯法--
- 兩用住宅的條例一問 work-home policy
- 怎樣做網站的登入系統?
- 淺水灣點去-
- Initial and Final States ( Chemistry Problem)
- 番禺...
- 中交建設可嗎?
此文章來自奇摩知識+如有不便請留言告知
其他解答:7638E7481407D16B
文章標籤
全站熱搜
留言列表