Superpermutation minimisation: Difference between revisions

m
→‎{{header|REXX}}: used templates for the OUTPUT sections.
(Link to new Numberphile video.)
m (→‎{{header|REXX}}: used templates for the OUTPUT sections.)
Line 838:
do m=i+1 while @.m<@.i; end /*m*/; parse value @.m @.i with @.i @.m
return 1</lang>
'''{{out|output''' |text=&nbsp; when using the input used is: &nbsp; <tt> 8 </tt>}}
<pre>
length of superpermutation(0) = 0
Line 897:
do m=i+1 while @.m<@.i; end /*m*/; parse value @.m @.i with @.i @.m
return 1</lang>
'''{{out|output''' |text=&nbsp; when using the default input: &nbsp; <tt> 7 </tt>}}
<pre>
superpermutation(0) = 0