P25 (*) Generate a random permutation of the elements of a list.
| 197 | |
| 198 | // P25 (*) Generate a random permutation of the elements of a list. |
| 199 | void problem_25() |
| 200 | { |
| 201 | print_result(shuffle(std::random_device()(), xs)); |
| 202 | } |
| 203 | |
| 204 | // P26 (**) Generate the combinations of K distinct objects chosen from the N elements of a list |
| 205 | void problem_26() |
no test coverage detected