dimanche 17 octobre 2021

How to choose several random numbers from an interval?

I have an interval 0..N in Rust and need to choose 3 distinct random integers (with each integer in the interval having equal probabilities to be chosen).

I want this to query random servers to cross-verify data.

How to do this in Rust?




Aucun commentaire:

Enregistrer un commentaire