Permutations by tabasa

s/^$/012345N/
s/\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)N/&\1\3\2\4\5\6N\1\4\2\3\5\6N\1\5\2\3\4\6N\1\6\2\3\4\5N/g
s//&\1\2\4\3\5\6N\1\2\5\3\4\6N\1\2\6\3\4\5N/g
s//&\1\2\3\5\4\6N\1\2\3\6\4\5N/g
s//&\1\2\3\4\6\5N/g
s/[^N]/& /g
s/ N/\n/g
s/\n$//m
p
y/10/01/
p
y/12/21/
p
y/23/32/
p
y/34/43/
p
y/45/54/

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top