Programming Pearls Essay 01 续一
摘要:        
04 产生[0,n-1]并且没有重复的k个随机整数。方法1:在使用Random类时,每次选择不同的随机因子并在Next中划定范围。这种方法简单容易实现,看上去似乎是可以满足需求的,但我不知道怎么去证明。using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace _01._04{ class Program { static void Main(string[] args) { int n = 1000000; ...    阅读全文
		
		posted @ 2011-12-06 21:17 yukl1n 阅读(269) 评论(0) 推荐(0)
 
                    
                     
                    
                 
                    
                 浙公网安备 33010602011771号
浙公网安备 33010602011771号 
