select m objects from n objects randomly
摘要:
Q: how to select m objects randomly from n objects with euqal possibility?A: allocate an array of m elements to keep the final result. put the first m... 阅读全文
posted @ 2013-12-24 21:57 Torstan 阅读(320) 评论(0) 推荐(0) 编辑