判断一个正整数是不是素数。不限语言。不管效率。
挑战所有程序员
判断一个正整数是不是素数。不限语言。不管效率。
所有跟帖:
• 回复:挑战所有程序员 -HavingFun2- ♂ (92 bytes) () 07/23/2009 postreply 20:29:07
• Not bad -botong- ♂ (0 bytes) () 07/24/2009 postreply 08:20:20
• The problem is: -botong- ♂ (72 bytes) () 07/24/2009 postreply 10:24:43
• perl的 -东瓜太郎- ♂ (118 bytes) () 07/24/2009 postreply 11:54:18
• cool! -botong- ♂ (0 bytes) () 07/24/2009 postreply 12:57:27
• One statement Solution in Matlab -HavingFun2- ♂ (99 bytes) () 07/26/2009 postreply 11:18:03
• Ahhhhh :) -botong- ♂ (0 bytes) () 07/26/2009 postreply 12:15:18
• how about this -dynamic- ♂ (10 bytes) () 07/26/2009 postreply 21:11:51
• Haskell 回复:One statement Solution in Matlab -火球魔法- ♂ (40 bytes) () 08/06/2009 postreply 19:03:53
• 回复:挑战所有程序员 -KingKrab- ♂ (45 bytes) () 08/13/2009 postreply 14:02:30