This problem is not so difficult.
Once you got a simple idea, you can make out a linear algorithm.
Another Hint)
The manhattan distance
between (0, 0) and (2, 3)
between (0, 0) and (3, 2)
between (0, 0) and (5, 0)
...
is same. It is clear how to calculate the distance between two cabbages. Can you ...
Search found 6 matches
- Sun Mar 19, 2006 12:12 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11012 - Cosmic Cabbages
- Replies: 29
- Views: 11698
- Wed Mar 15, 2006 12:25 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11000 - Bee
- Replies: 25
- Views: 16999
- Tue Mar 14, 2006 9:45 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11000 - Bee
- Replies: 25
- Views: 16999
- Sun Mar 05, 2006 8:14 am
- Forum: Volume 110 (11000-11099)
- Topic: 11004 - Changing Roadmap
- Replies: 9
- Views: 4079
- Sat Mar 04, 2006 10:23 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11004 - Changing Roadmap
- Replies: 9
- Views: 4079
- Sun Jan 29, 2006 10:30 am
- Forum: Volume 4 (400-499)
- Topic: 497 - Strategic Defense Initiative
- Replies: 144
- Views: 44399