Anonymous user
Largest int from concatenated ints: Difference between revisions
→{{header|Perl 6}}: correctness (sort was reversed) and style tweaks
(→{{header|C++}}: incorrect) |
(→{{header|Perl 6}}: correctness (sort was reversed) and style tweaks) |
||
Line 282:
=={{header|Perl 6}}==
<lang
[~] @x.sort: -> $
}
say maxnum
▲[<54 546 548 60>];</lang>
{{out}}
<pre>998764543431
|