I get 420. It appears you ran the wrong program. You use the program just like you showed (the sorting is included in the "Sample use" part of the code).
- tye (but my friends call me "Tye")In reply to (tye)Re2: permute n elements2
by tye
in thread permute n elements2
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |