摘要:
Description There are three points marked on the coordinate plane. The goal is to make a simple polyline, without self-intersections and self-touches, 阅读全文
摘要:
DescriptionA flowerbed has many flowers and two fountains.You can adjust the water pressure and set any valuesr1(r1 ≥ 0)andr2(r2 ≥ 0), giving the dist... 阅读全文
摘要:
DescriptionBob loves everything sweet. His favorite chocolate bar consists of pieces, each piece may contain a nut. Bob wants to break the bar of choc... 阅读全文
摘要:
DescriptionAn elephant decided to visit his friend. It turned out that the elephant's house is located at point0and his friend's house is located at p... 阅读全文
摘要:
DescriptionProgrammer Rostislav got seriously interested in the Link/Cut Tree data structure, which is based on Splay trees. Specifically, he is now s... 阅读全文
摘要:
Problem DescriptionIn an apartment, there are N residents. The Internet Service Provider (ISP) wants to connect these residents with N – 1 cables.Howe... 阅读全文
摘要:
Problem DescriptionLike most of the RPG (role play game), “The Magic Tower” is a game about how a warrior saves the princess.After killing lots of mon... 阅读全文