Ad
  • Default User Avatar

    I feel like this should be a 7 or 8 kyu for JS.

  • Default User Avatar

    what am I not understanding about the last test case of the 2nd advanced set: it's responding:

    recipe: (unmodified)
    { flour: 400, eggs: 2, sugar: 200 }
    added: (unmodified)
    { flour: 1000, eggs: 5, sugar: 500 }
    Expected: {}, instead got: {"eggs":1,"flour":200,"sugar":100}
    

    why would the output be empty? the recipe to make 1 cake requiers 400 flour, we've added 1k already, the next neriest multiple is 1200 ? or am I misunderstanding what is suppose to happen?