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.
[[]]
is a1x0
matrix, not anNxN
matrix.Looks good!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Honestly, I don't think Cyrillic vs Latin would matter at all to someone who doesn't know Russian. I'd just be copy and pasting everything either way, so if Cyrillic is easier for Russian speakers it seems fine to me.
A few suggestions from someone who knows zero Russian:
Could definitely be a cool kata, but the above were some pain points for someone coming in with no background.
You need to specify the input in the description. e.g. the image is represented as single
char *
split over multiple lines, it will always have length/width of blah, holes in circles will never include the circle's edge, etc.Looks like there's still one underspecified case, when the word is a single uppercase letter. It seems from tests that it's supposed to capitalize the first letter of the result, even if that letter wasn't in the original text? e.g.
F
->If
That still leaves this test in a confusing spot:
As the 'N' is in the incorrect position, but remains uppercase in the expected result.
Edit: Nevermind, I just understood the entirely uppercase exception.
Perhaps I missed something, but this case seems ambiguous:
As it could be solved with two transpositions, which would correct the "BE-" to lowercase "-be", but could also be done by a deletion of the '-' and an insertion of an '-', which would leave the "BE" uppercase.
Looks good to me!
A few issues with this:
Apparantly not at all... looks like this was from 3.0, I had just never noticed it. That just seemed to be the page with the most detail.
This comment is hidden because it contains spoiler information about the solution
The assertion messages should provide information about what was wrong (see the docs).
As dfhwze noted, this isn't likely to be approved, but it's good to know for another kata.
Loading more items...