2017年9月25日

摘要: Let SSS be a sequence of integers s1s_{1}s​1​​, s2s_{2}s​2​​, ........., sns_{n}s​n​​ Each integer is is associated with a weight by the following rul 阅读全文
posted @ 2017-09-25 20:45 Annetree 阅读(265) 评论(0) 推荐(0)
 
摘要: You are given a list of train stations, say from the station 111 to the station 100100100. The passengers can order several tickets from one station t 阅读全文
posted @ 2017-09-25 20:40 Annetree 阅读(303) 评论(0) 推荐(0)
 
摘要: 描述 You are given a list of integers a0, a1, …, a2^k-1. You need to support two types of queries: 1. Output Minx,y∈[l,r] {ax∙ay}. 2. Let ax=y. 输入 The f 阅读全文
posted @ 2017-09-25 20:35 Annetree 阅读(183) 评论(0) 推荐(0)
 
摘要: 描述 Ming is going to travel for n days and the date of these days can be represented by n integers: 0, 1, 2, …, n-1. He plans to spend m consecutive da 阅读全文
posted @ 2017-09-25 20:29 Annetree 阅读(283) 评论(0) 推荐(0)