Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Fixed.
Definitely agreed! It just happened to me in ruby version.
No problem and on the contrary I really appreciate who can admit his/her fault, plus many thanks for your kind feed :)
All fixed, sorry the the troubles, but the template code anyway explained that you had to use
$walk
and$bus
in Ruby case.Updated ruby description and solution to fix this.
I see. For now I'll accept them. We can in principle go above 100 but we don't just because it's easier for the person tricked
I'll probably refactor the problem later for testing if the combination of card is valid. I think (but not sure) an invalid combination can only happen if the number is a fibonnacci number and there are more than one card given.
9, 4, 5, 5, 5, 5, 8, 7, 7, 7, 1, 4, 1
removing the duplicates:1,4,5,7,8,9
which correspond to2+8+13+34+55+89=201
Sounds about right then.
Is is python or Ruby?
Could you show me the input given from the test case?