Anonymous user
Index finite lists of positive integers: Difference between revisions
Index finite lists of positive integers (view source)
Revision as of 20:53, 9 May 2014
, 10 years ago→{{header|Go}}
(→{{header|Perl 6}}: adding extra credit) |
m (→{{header|Go}}) |
||
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))
|