Ad
  • Custom User Avatar

    Thanks a lot and sorry for the long waiting time. I just realised I completly missed your translation. :) Cheers!

  • Custom User Avatar

    Omg, I just randomly saw that I missed your translation. Really sorry for that. Thanks a lot for the help and please accept my appologies. :) Cheers!

  • Custom User Avatar

    You are very welcome! Thanks for trying it out! Cheers!

  • Default User Avatar

    thanks for the challenge got my brain to work :D

  • Custom User Avatar
  • Default User Avatar

    @Jugo61 where you have "... that's 1 + (1+2+3) + (1+1+2+3+2+8) = 24" in the second set of parentheses, you have two "1"'s next to each other when summing the last persons wait time for machine one. The last person waits 1 minute then waits 2 minutes during machine cleaning and so forth equaling 23. Not sure what the sentence starting with "For..." is trying to say.

  • Default User Avatar

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

  • Custom User Avatar

    Thanks a lot! Cheers!

  • Custom User Avatar

    Well that is the point of solving a CS problem right? Figuring out how to get to the desired result by using some sort of data already provided to you. Cheers!

  • Custom User Avatar

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

  • Default User Avatar

    I think there needs to be a summary sentence in the example paragraph. The total wait time is 26 minutes becuase customer1(4 minutes), customer2(9 minutes), and customer3(13 minutes). It took me a while to figure out how to the total was 26 minutes.

  • Custom User Avatar

    A better wording might be possible, but "doesn't make any sense" is Alex being his usual obnoxious self again. At least 162 people are smarter than that.

    "minimum" is not refering to the minimum individual waiting time, but the minumum acccumulated waiting time.

    Please suggest a better wording. Be part of the solution, not the problem, Alex.

  • Custom User Avatar

    you must return the minimum time needed for all of the customers to wait for their coffee, so the sum of all the waiting times.

    "The minimum time needed for all of the customers to wait" is equivalent to max(subqueue_1_time, subqueue_2_time, ..., subqueue_n_time), while "the sum of all the waiting times" is equivalent to subqueue_1_time + subqueue_2_time + ... + subqueue_n_time. This statement doesn't make any sense.

  • Custom User Avatar
  • Custom User Avatar

    Thanks a lot! Cheers!

  • Loading more items...