Live2d Test Env

随笔分类 -  RMQ---主席树

摘要:Problem Description Jimmy wants to make a special necklace for his girlfriend. He bought many beads with various sizes, and no two beads are with the 阅读全文
posted @ 2017-12-02 14:52 nimphy 阅读(382) 评论(0) 推荐(0)
摘要:Give you a sequence and ask you the kth big number of a inteval. InputThe first line is the number of the test cases. For each test case, the first li 阅读全文
posted @ 2017-11-30 21:02 nimphy 阅读(362) 评论(0) 推荐(0)
摘要:【CLJ】 所谓的“持久化数据结构”,就是保存这个数据结构的所有历史版本,同时利用它们之间的共用数据减少时间和空间的消耗。 所谓的“持久化数据结构”,就是保存这个数据结构的所有历史版本,同时利用它们之间的共用数据减少时间和空间的消耗。 【Regina】 主席树是一种离线数据结构,是由很多棵线段树组成 阅读全文
posted @ 2017-11-30 18:49 nimphy 阅读(292) 评论(0) 推荐(0)
摘要:The Company Dynamic Rankings has developed a new kind of computer that is no longer satisfied with the query like to simply find the k-th smallest num 阅读全文
posted @ 2017-11-29 16:24 nimphy 阅读(317) 评论(0) 推荐(0)