随笔分类 -  权值线段树

摘要:题目描述 You are given two permutations aa and bb , both consisting of nn elements. Permutation of nn elements is such a integer sequence that each value 阅读全文
posted @ 2019-07-18 12:46 BEYang_Z 阅读(200) 评论(0) 推荐(0)
摘要:Description Description Input Output Input Input Output Output Sample Input 9 5 6 4 310111Query 0Query 1Query 2Query 3Query 4Query 5Query 6Query 7Quer 阅读全文
posted @ 2019-01-19 07:50 BEYang_Z 阅读(186) 评论(0) 推荐(0)
摘要:Description “我希望能使用更多的魔法。不对,是预定能使用啦。最终我要被大家称呼为大魔法使。为此我决定不惜一切努力。”——《The Grimoire of Marisa》雾雨魔理沙魔理沙一如既往地去帕秋莉的大图书馆去借魔导书(Grimoire) 来学习魔道。最开始的时候,魔理沙只是一本一本 阅读全文
posted @ 2018-07-12 19:40 BEYang_Z 阅读(258) 评论(0) 推荐(1)