Ad
  • Custom User Avatar

    you work indivudally and don't use chatGPT and you're the best coder in the world bro

  • Custom User Avatar

    Should be all fixed now. Note that int changed to long, so you'll need to change that.

  • Custom User Avatar

    (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)

  • Custom User Avatar

    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.

  • Custom User Avatar

    what was the test then?

    not passing tests is in itself normal.

  • Custom User Avatar

    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.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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?

  • Custom User Avatar

    Too easy, or...?