Ad
  • Custom User Avatar

    Don't mutate the original object.

  • Default User Avatar
  • Default User Avatar

    Same problem as mine. My algorithm is completely valid and passes all the fixed tests but for the random tests they all expect 0 for no reason.

  • Default User Avatar

    Wrong result for recipe {"pears":81,"milk":34,"crumbles":71} and available ingredients {"chocolate":6900,"nuts":2100,"cream":1000,"sugar":3700,"pears":2000,"butter":2400,"oil":3400,"apples":600,"eggs":6000,"flour":3700,"cocoa":1600,"milk":3900,"crumbles":6300} - Expected: 0, instead got: 24

    I got plenty of pears, milk and crumbles, but the test expects 0... -.-

    there are a LOT of people having this exactly problem with the random tests... where is the author of this Kata?