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.
you work indivudally and don't use chatGPT and you're the best coder in the world bro
Should be all fixed now. Note that int changed to long, so you'll need to change that.
(cw doesn't send out notifications in this scenario so I didn't see your messages until now)
Yeah the issue isn't solved. But it's a duplicate. So the issue is still open. And it's being worked on. Probably. The translation author did poke at it but it needs another pass and uh. The point is, the issue isn't being ignored.
I think you're wrong about the size being different from 8 though. Maybe you're printing it in some weird way that you're looking at two of them. Java people seem to be prone to that kind of thing, while for example python/js people can just print it and get it neatly formatted and therefore won't mix them up that way. (not that it matters until the other issue gets fixed)
by printing. please don't open issues without having fully worked out what's going on. if there already is an issue that you think matches, don't create a duplicate.
what was the test then?
not passing tests is in itself normal.
One way is to look for a formula that, given i and j, returns the value in the array at position i,j. In row r, the elements increase from 1 to r in the first r columns, remain at r until column r from the end, and then decrease to 1. By comparing the row and column value appropriately, you can figure out what the array element has to be.
This comment is hidden because it contains spoiler information about the solution
oh okay. Out of curiousity, which language(s) did you try?
When I first made this kata, I thought it was better not to include tests in an attempt to encourage people to write their own, but that might not be what the community considers "best practices" now.
As for the errors, did they give any error messages?
Too easy, or...?