Files
CKG/extern/stdcxx/4.2.1/examples/manual/out/permutation.out
2025-06-07 11:34:38 -04:00

11 lines
314 B
Plaintext

Example 1:
Original values: 0 0 0 0 1 0 0 0 0 0
Previous permutation: 0 0 0 0 0 1 0 0 0 0
Next Permutation: 0 0 0 1 0 0 0 0 0 0
Example 2:
Original values: a b c d e f g h j i
Previous Permutation: a b c d e f g h i j
Next Permutation: a b c d e f g i h j