Ad
  • Custom User Avatar

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

  • Custom User Avatar

    Java here,

    The running code on my IDE is working but the test button sometimes shows errors and sometimes doesn't. When I try to attempt after getting all done somehow without changing the code, one or two failing cases(randomly with the same code) comes up but when I try them on my IDE it works fine.

    recipe = ("oil": 300, "flour": 1500, "sugar": 200, "eggs": 1)
    available =("oil":21000,"flour": 5000,"sugar": 1200,"eggs": 5, "milk": 200,"cream": 1000);