摘要: Let SS be a sequence of integers s_{1}s​1​​, s_{2}s​2​​, ......, s_{n}s​n​​Each integer is is associated with a weight by the followin... 阅读全文
posted @ 2017-09-24 20:18 Bryce1010 阅读(86) 评论(0) 推荐(0) 编辑
摘要: There are nn rectangles on the plane. The problem is to find the area of the union of these rectangles. Note that these rectangles mig... 阅读全文
posted @ 2017-09-24 20:15 Bryce1010 阅读(114) 评论(0) 推荐(0) 编辑
摘要: In this problem, we will define a graph called star graph, and the question is to find the minimum distance between two given nodes in... 阅读全文
posted @ 2017-09-24 20:07 Bryce1010 阅读(120) 评论(0) 推荐(0) 编辑
摘要: You are given a list of train stations, say from the station 11 to the station 100100.The passengers can order several tickets from on... 阅读全文
posted @ 2017-09-24 19:57 Bryce1010 阅读(102) 评论(0) 推荐(0) 编辑