Hacker News new | past | comments | ask | show | jobs | submit login

That's not quite random, because you're selecting items with probability 1/RAND_MAX. The elements beyond RAND_MAX will never be selected.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: