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.
Would there ever be a pin string containing '1234\n567890'? Shouldn't code validate one PIN per call? This is unbelievable...
That's not what Kysovich is talking about: in Ruby, initial solution already includes a code.
This comment is hidden because it contains spoiler information about the solution
Wow, it is a real challenge, like coding online calculators. Nice one
It seems Ruby is the original language, and it could be the intention of the author to provide a hint with this. Though I agree there should not be that, and other languages don't have it.
Is this okay that Ruby translation has an answer from the beginning? A single line that passed all tests but attempt? I guess it is not fair enough for kyu 5