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.
In my opinion providing assertion messages has nothing to do with the rank of the kata and everything to do with the user experience. Having to print the input is tedious and clunky, whether the kata is 8-kyu or 1-kyu. Providing it in assertion messages is always good and should not be reserved to easy kata.
added to this one.
Well, yeah, I do not see why composite types of inputs should be any special. 5 kyu challenges are relatively advanced, not easier than printing an object graph, and I'd assume that if someone attempts a 5 kyu, they are already on the level of "print a tree" or "traverse a graph" kind of task.
I would personally draw the line at 6 kyu tho rather than white/yellow, but it's just me.
(to Johan) For a kata with operations on numbers/strings, sure. But for data structures, would you really think so (especially given that this kata in particular seems to be bugged)?
For a 5kyu, solvers can debug print their inputs. White kata should show inputs on failure, but the obligation should end there.
Other opinions may be available.
Because it was not a common authoring practice at the time the kata was authored. Back then, not many authors included this information in test output.
Pretty classic Kata)
ah F me, the coordinate system is upside down, but error feedback uses regular coordinate system :/ :/ :/
How do you explain this case?
Specially, given:
please help me. How to access X and Y coordinates. I can't find the names of the variables or the method by which I can access the variables of the point object.Was it difficult to just specify 2 variables x and y?
I'm currently in the same boat with java. Makes me wonder if theres an issue with the java test-checker.
Language is Java BTW. I'm having some trouble with the random tests and I can't see what I'm doing wrong. The smallest test I've seen that I fail has no rollbacks and is just simple moves. It can be recreated with
What I end up with is
and while I can't see what it should be, I'm getting the error
element[1][4] is "4E" which is only set once and, according to my program, it is set by white. Can anyone that has completed this tell me what this move set should result in? I can complete every other test and most of the time I can complete 30+ random tests, but no matter how many times I try I can't complete this thing.
Hello @Tonio31
Using the input you provided I think the result should be
[0, 1, 2, 3, 4, 3, 2, 1, 0, 2, 4, 0]Maybe you found a problem.
What language are you using?
Loading more items...