Permutations: Difference between revisions
m
→{{header|Stata}}
Line 4,993:
do {
a[p++, .] = u
for (i = n; i > 1; i--) {
if (u[i-1] < u[i]) break
|