Haskell translation
Lua translation!
Switched it to tuples
Yep, I agree that it should be (u32, u32)
(u32, u32)
Nice kata, for strengthen my knowledge.
This comment is hidden because it contains spoiler information about the solution
Just didn't think of other data types. Should I change it to tuples?
Why are pairs Vecs? Dynamically allocating memory for each pair doesn't look good...
Vec
Fixed the random tests ( reference solution was sorting inputs ). If you pass the random tests by chance, enjoy the cheap points.
Rust translation
Approved
6 kyu but, this was easy
Prolog translation
Loading collection data...
Haskell translation
Lua translation!
Switched it to tuples
Yep, I agree that it should be
(u32, u32)
Nice kata, for strengthen my knowledge.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Just didn't think of other data types. Should I change it to tuples?
Why are pairs
Vec
s? Dynamically allocating memory for each pair doesn't look good...Fixed the random tests ( reference solution was sorting inputs ). If you pass the random tests by chance, enjoy the cheap points.
Rust translation
Approved
6 kyu but, this was easy
Prolog translation
Loading more items...