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.
I cannot reproduce this problem with your current Python solution either.
Yes, it seems to me that negative numbers are tested.
In what language? Negative numbers should be tested, but without knowing the language, I do not know where to check.
Your solution passes some thests and then either crashes, or times out. It is difficult to tell without knowiing your code, or the language you are attempting. I cannot reproduce this problem with your current C# solution.
I did not claim that understanding the task was common sense, everyone can make mistakes. I misunderstand or miss things in descriptions often, too, and only realize it when I submit my code and see that it does not pass the tests.
What I meant by common sense, as I wrote, and as explainedhere, was that when you think you have found a really big mistake, especially in a kata with so many completions (and 38,500 completions is massive), you should stop and think:
Did I understand the task correctly ? Am I solving the right problem ? Did I miss something in the description ?
Only after double checking everything, scrolling down the discourse page to see if there have been similar remarks / reports in the past, you should open an issue. Issues should not be opened lightly, as:
I did try to explain the mistake in your logic, too, but you kept focused on your own interpretation of the task instead of on what the description explains.
and stop raising issues when you do not understand something in a kata; it is rude. an issue implies there is a serious problem with a kata, that other regular users (volunteers) will have to analyze, debug and fix. when you are confused, ask a question.
How do you get from digit 9 to digit 3? It's not adjacent. Everything seems consistent with description, unless you're misunderstanding it.
You are misunderstanding this sentence:
it means that any
1
could actually be a1
, a4
(bottom vertical from1
), or a2
(right horizontal from1
). So24
is a valid possibility for11
.Please exercise some common sense when raising issues. This kata has nearly 40,000 completions. If there was such a glaring mistake in the tests it would have been already noticed and/or fixed by now.
If you see that error message, then it isn't returning 1.
This comment is hidden because it contains spoiler information about the solution
Unfortunately, tasks which are meant to reimplement a built in are not really good Codewars kata. Restrictions are very easy to work around, and difficult to enforce.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution