Блог пользователя tumenbay

Автор tumenbay, история, 4 месяца назад, По-английски
  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
4 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

You have to make a binary search on time, and your checker function returns true if it is possible to gather all people at a point; otherwise, it returns false. (This way, the problem is solved using BS.)

my submission

  • »
    »
    4 месяца назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    I cant see your submission, how can I find relevant point?

    • »
      »
      »
      4 месяца назад, # ^ |
      Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

      you do not have to find the point where they meet

      you have to find the range of each person where they can travel in the given time and find the intersection of each person's range if there is the intersection between all then this time is valid

      check this