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.
Easy, still a fancy and playful coding challenge to practice the basics with.
Please change format of snapshot parameter for C#. Massive part of time took make here work my VS version, where I coppied it from examples and it gave me "\r\n ".
I think everybody who solves it here know Split functions, so IMHO no point to make this worse than necessary.
This comment is hidden because it contains spoiler information about the solution
Approved some time ago
Done.
Please clarify this point:
to this:
My bad.
I miss-intepreted the instruction "Assume all penguins swim at the same speed." as saying that their speed is constant.
The test is ok:
It takes Adam 12 time units to reach the finish line, and for Brain only 11.
Hi correct me if I'm wrong but for
It marks my answer as wrong and gives the following output
When clearly Adam would finish faster than Brain
JFC, thank you! As a nub who didnt care for his spellings, I deserved it........
BROZNE vs BRONZE
When you think your answer is the same as the expected one but the tests say it is not, put them in two separate rows, the difference will become evident.
This is the message I get - all failed. I dont get it.......what am I missing ???
'GOLD: Derek, SILVER: Francis, BROZNE: Bob' should equal 'GOLD: Derek, SILVER: Francis, BRONZE: Bob'
Hi,
not an issue, a question. ;)
Keep in mind that in JS, you don't see the succesful assertions, meaning there are good chances that your code fails on another input than the one you currently imagine it does.
=>
console.log(...)
to see what's the actual input.Reading some parts of this might help too.
Good luck with your debugging. ;)
Not sure what is happening, I am getting the correct answer exactly as the 'expected' in test cases, but it still says 'failed' at everything. Can anyone take a look?
It's hard to say without knowing your code and the language you use. You can post your code with a spoiler flag if you want help. Maybe you should check the input string, because, as I said below, sometimes the snapshot is not just like we expect from the description.
Loading more items...