I dont know what is wrong
trying the transforme everything into a number approach
cpcarros.rb working with tests
Try spoj
Correct input for spoj
Implement a solution found in the internet
Is right but exceed the time limit