2 ms·
I would just use std::next_permutation (or equivalent partial permutation from a library). This produces pretty clean code.
by zeroonetwothree 12y ago
I would just use std::next_permutation (or equivalent partial permutation from a library). This produces pretty clean code.