摘要: 题目描述 We have a sequence of length N consisting of non-negative integers. Consider performing the following operation on this sequence until the larges 阅读全文
posted @ 2018-07-08 21:05 l..q 阅读(224) 评论(0) 推荐(0)
摘要: 题目描述 Fennec and Snuke are playing a board game.On the board, there are N cells numbered 1 through N, and N−1 roads, each connecting two cells. Cell ai 阅读全文
posted @ 2018-07-08 19:09 l..q 阅读(260) 评论(0) 推荐(0)
摘要: 题目描述 There are N towns on a plane. The i-th town is located at the coordinates (xi,yi). There may be more than one town at the same coordinates.You ca 阅读全文
posted @ 2018-07-08 18:51 l..q 阅读(242) 评论(0) 推荐(0)