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.
done
Java:
Missing fixed tests
Should be upgraded to JUnit5
Reference solution should be
private
Fixed.
Merged.
fixed
For the record, OPs wrong solution is:
Example input it fails is:
Your solution is
shitbroken, it can handle only matrices of size 3x3. It returns wrong result for matrices larger than 3x3.Not a kata issue.
Shit ain't working
5 0 4
9 2 0
3 6 4
Principal Diagonal win!
right? according to the rules, it is. according to the random tests, secondary wins here though...
cool
PHP fork to fix this issue and enable PHP 8.
This comment is hidden because it contains spoiler information about the solution
python new test framework is required. updated in this fork
Current state of C++ initial solution setup compiles correctly, closing!
OP solved it, closing
And you're starting with $arr[0], so in your loop you can skip first element by starting to count from $i = 1.
Loading more items...