Ad
  • Default User Avatar

    i browsed through a bunch, and im not saying all but many of the very beginer ones contain or are built on some kind of logic that seems incongruent with the excersise. Im getting back into computer science but used to solve problems here when i was in HS around 2015-2016 and remember a similar experience. Not trying to be negative but literally all of the first 3 that i solved since making an account and coming back on here had a similar logical issue, i thought it worth mentioning.

  • Custom User Avatar

    Most of the katas are buggy and you have to debug what they are actually asking vs what they label it as asking and then write logical code for yourself that you conciously edit to pass their often times ilogical tests

    And by 'most' you mean at least 2 out of the 3 you have solved?

  • Default User Avatar

    hey check out my solution for explanation. Some of the very basic katas are buggy and you have to debug what they are actually asking vs what they label it as asking and then write logical code for yourself that you conciously edit to pass the tests. I dont mind so far but i can see how some beginners would become infuriated here quickly with some of these katas because you have to know enough to spot the logical errors of whoever wrote it so its like a 2-part game

  • Default User Avatar

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

  • Default User Avatar

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

  • Custom User Avatar

    You get given the time in hours...

  • Custom User Avatar

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

  • Default User Avatar

    That's fine as long as Nathan isn't using this calculation to determine how much to drink.

  • Custom User Avatar

    Sorry but no. There is no minimum, it says he drinks that ammount and how to round. Not a kata issue.

  • Default User Avatar

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

  • Custom User Avatar

    The instructions says round to the smallest, which equals to round down, so even if it was 1.99999 your code should return 1.

  • Default User Avatar

    I learned in school that from 0.5 you round up not down ^^

  • Custom User Avatar

    rounded to the smallest value.

    1.5 -> 1

  • Default User Avatar

    He drinks 0.5 liters per hour and after 3 hours he is supposed t have drank 1 liter? Should it not be 1.5 liters?

  • Default User Avatar

    please check my decision. Probably i should not use the math modul?

  • Loading more items...