Ad
  • Custom User Avatar

    As mentioned below, the description is still unclear on how to calculate the direction.

  • Custom User Avatar

    Sorry to bring this up, but the question is still confusing. When I look at the example: [[5,2],[1,10],[3,3],[1]] If we are discuss min/max why isn't [1] West chosen? My guess is it has something to do with but it is higher than the choices they could make from the other sets but is not outliend above. aka eg the LOWEST score in that inner array. Anyrate, not going to give this a go because I have no idea how you are trying to calculate that direction.

  • Default User Avatar

    Description :

    • wasn't obvious, added a more detailed example as this isn't a puzzle and author is in the wind
  • Default User Avatar

    Fixed tests added.

  • Default User Avatar

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

  • Custom User Avatar

    Thanks for giving it a go

  • Custom User Avatar

    Ok, submit now. Thanks ;-)

  • Custom User Avatar

    i took it down but its back up again now, maybe thats why.
    Still want to work out a better description, given the task is so simple.
    Joe

  • Custom User Avatar

    OK, I see. I works a solution, but can not submit, perhaps CW doesn't work, I will try submit later ;-)

  • Custom User Avatar

    Sorry it probably is a bit confusing and long-winded, I'll will cut the description right back as a next adjustment. It's really very simple, the poachers will just always choose the lowest number available to them. Just a very easy example of one round of minimax strategy, this is meant for real beginners.

  • Custom User Avatar

    if we choose North - [4,5,7,5,9], the poachers will take the route that gives them a 4/10 chance of being captured. If we choose West - [5,6], the poachers will take the route that gives them a 5/10 chance of being captured.

    I don't know why [4,5,7,5,9] --> 4/10 and [5,6] --> 5/10

    I guess:

    1: first element / 10
    2: 1 - the average / 10
    

    I don't know, your story too long...