有請高手幫忙,0-5000隨機數 不重複 怎麼生成?
所有跟帖:
• 調用 rand() 庫函數 -tty- ♂ (0 bytes) () 12/01/2006 postreply 10:26:08
• 隨機數 and 不重複? -ppzcgg- ♀ (27 bytes) () 12/01/2006 postreply 10:44:11
• 一般都是偽隨機函數,在一定範圍裏不重複很重要 -tty- ♂ (0 bytes) () 12/01/2006 postreply 11:52:54
• Yes I know rand() creates 偽隨機數. -ppzcgg- ♀ (119 bytes) () 12/01/2006 postreply 13:42:43
• there is no proved real random generator algorithm -德州老外- ♂ (386 bytes) () 12/01/2006 postreply 14:48:42
• Why you two are so serious about this. I was just -ppzcgg- ♀ (87 bytes) () 12/01/2006 postreply 19:48:52
• 有一個 -笨辦法- ♂ (199 bytes) () 12/01/2006 postreply 21:08:53
• 我知道你什麽意思了 -德州老外- ♂ (804 bytes) () 12/01/2006 postreply 21:22:36
• 謝謝!有點暈,我電腦上隻有office軟件,誰能產生一個就好 -大地- ♂ (22 bytes) () 12/04/2006 postreply 07:28:00