摘要:
You are given n segments on a line. There are no ends of some segments that coincide. For each segment find the number of segments it contains. Input 阅读全文
摘要:
Devu wants to decorate his garden with flowers. He has purchased n boxes, where the i-th box contains fi flowers. All flowers in a single box are of t 阅读全文