Index finite lists of positive integers: Difference between revisions

m
(→‎{{header|Perl 6}}: adding extra credit)
Line 56:
 
// Join base 10 representations with an "a" and you get a base 11 number.
// Unfortunately base 11 is a little awkward with big.Int, so just treat it as base 16.
func rank(l []big.Int) *big.Int {
s := make([]string, len(l))
Anonymous user