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.
This comment is hidden because it contains spoiler information about the solution
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...