Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Thank you for the solution, I will try it. Ah yes, I forgot to provide the spoiler flag.
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 gives1
. 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.
This comment is hidden because it contains spoiler information about the solution