Anonymous user
Find the missing permutation: Difference between revisions
m
→{{header|Ursala}}
(Added C++) |
|||
Line 403:
and needn't be reinvented, but its definition is shown here the interest of
comparison with other solutions.
<lang Ursala>permutations = ~&itB^?a\~&aNC *=ahPfatPRD refer ^C/~&a ~&ar&& ~&arh2falrtPXPRD</lang>▼
The <code>~&j</code> operator computes set differences.▼
▲permutations = ~&itB^?a\~&aNC *=ahPfatPRD refer ^C/~&a ~&ar&& ~&arh2falrtPXPRD
▲The ~&j operator computes set differences.
<lang Ursala>#import std
#show+
Line 435 ⟶ 433:
CBDA
DBCA
DCAB]-</lang>
output:
<pre>
|