P24 (*) Lotto: Draw N different random numbers from the set 1..M.
| 191 | |
| 192 | // P24 (*) Lotto: Draw N different random numbers from the set 1..M. |
| 193 | void problem_24() |
| 194 | { |
| 195 | print_result(sample(std::random_device()(), 3, numbers<int>(1, 100))); |
| 196 | } |
| 197 | |
| 198 | // P25 (*) Generate a random permutation of the elements of a list. |
| 199 | void problem_25() |
no test coverage detected