摘要:
随机数问题分类:Programming PearlsData Structure & AlgorithmOffer on the way2013-08-21 22:51775人阅读评论(1)收藏举报目录(?)[+]最初问题:从n个数中随机选择m个数(0s;while(signed(s.size())... 阅读全文
posted @ 2015-08-04 13:51
rexzhao
阅读(256)
评论(0)
推荐(0)
摘要:
int MyRand ( int nMin, int nMax ) { if ( nMin > nMax ) { int nTemp = nMin; nMin = nMax; nMax = nTemp; } return ( nMin + rand() % ( nMax - n... 阅读全文
posted @ 2015-08-04 13:47
rexzhao
阅读(211)
评论(0)
推荐(0)


浙公网安备 33010602011771号