Jump to content

Largest int from concatenated ints: Difference between revisions

m
→‎{{header|Perl 6}}: this is not so much of a python translation
m (→‎{{header|Perl 6}}: minor rewrite)
m (→‎{{header|Perl 6}}: this is not so much of a python translation)
Line 10:
 
=={{header|Perl 6}}==
{{trans|Python}}
<lang Perl 6>sub maxnum(@x) {
[~] sort -> $x, $y { $x~$y <=> $y~$x }, @x
1,934

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.