Ad
  • Default User Avatar

    there's no way you literally did this and it didn't work

  • Custom User Avatar

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

  • Custom User Avatar

    not best practice because magic numbers.
    i see 4.54609188 and 1.609344 but
    if i was looking at this code for the first time I wouldn't immediately know what they represent.

  • Custom User Avatar

    If I am coding for me its ok to avoid most of the data validation.
    I hope most of the members hear for improving the skills and adapt new ideas to be a bug free coding.
    When practicing do concentrate in perfection, it’s my vision.

    I am sorry to both of you if I heart you in some way.

  • Custom User Avatar

    Just my opinion, but it seems the whole point is to write code for the purpose of passing the tests, so if it passes; it passes. I actually often don't read the description, if it's not necassary. First thing I do is return the inputs to see what I'm given, and what is expected. THEN, I read the description if it's not obvious what to do. This saves me a lot of time. If any requirement is truly a requirement, it should be tested for.
    That being said, I do appreciate the hard work of the kata creators, and some descriptions are very clever/funny and have made me laugh out loud at times.

  • Custom User Avatar

    You can't expect the Users to read the description

  • Custom User Avatar

    If the answer ends with a 0, it should be rounded off without the 0. So instead of 5.50, we should get 5.5.

    This requirment?

  • Default User Avatar

    I think there should be a test case for two ships touching at the bottom right and top left corner.

    battleField = [[1, 0, 0, 0, 0, 1, 1, 0, 0, 0],
    [1, 0, 1, 0, 0, 0, 0, 0, 1, 0],
    [1, 0, 1, 0, 1, 1, 1, 0, 1, 0],
    [1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0, 0, 0, 0, 1, 0],
    [0, 0, 0, 0, 1, 1, 1, 0, 0, 0],
    [0, 0, 0, 0, 0, 0, 0, 0, 1, 0],
    [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [1, 0, 0, 0, 0, 0, 0, 0, 0, 0], # <-----
    [0, 1, 0, 0, 0, 0, 0, 0, 0, 0]] # <----- like those two ships on the left side of the grid

  • Default User Avatar

    Thank you. I feel like the rank Progress and the honor points for the last kata are still missing. Can they be achieved again? Greeting

  • Custom User Avatar

    It was an issue with our cheat detection. In light of this issue I've changed the way that it works so that all suspected cheats first are sent to a our team's Slack channel so that we can manually review each cheat. I've removed the cheat points from your profile.

  • Default User Avatar

    In my site-events it also shows -15 for cheats detected.
    What did I do wrong?

  • Default User Avatar

    Where there honor calculation issues again?
    I just completed a 3kyu kata and lost 20 honor points. :(
    Greetings

  • Default User Avatar

    How is it possible to display values of variables in the output tab (in every language)?
    e.g. Console.Write(); doesnt work for C#

  • Default User Avatar

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