Ad
  • Custom User Avatar

    Thank you for the solution, I will try it. Ah yes, I forgot to provide the spoiler flag.

  • Custom User Avatar

    The solution handled the distance incorrectly.

    For example CT position: [0, 1], Bomb position: [4, 2], Kit position: [0, 0]

    Distance of CT to Bomb should be 4. However, your solution gives 1. Same for Kit to Bomb.

    Also, next time, put spoiler flag in your post when sending your code so that people who haven't solved it cannot see your solution.

  • Custom User Avatar

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