摘要:
区间mex 最近做牛客上的题(little w and Discretization)的时候,遇到了这样一种需求,给定一个序列,然后再给出一系列查询,求序列中,$l$到 $r$之间的数的mex(简单介绍:mex(S) 的值为集合 S 中没有出现过的最小自然数)。 花了点时间做出这题之后,稍微了解了一 阅读全文
摘要:
CF1491D. Zookeeper and The Infinite Zoo 题目描述 There is a new attraction in Singapore Zoo: The Infinite Zoo. The Infinite Zoo can be represented by a gr 阅读全文
摘要:
#F - Xor sum ###discription Given a sequence of integers of length n, find the shortest consecutive subsequence witch XOR sum not less than k. If ther 阅读全文
摘要:
#HDU6277 Higher h-index ###题目 The h-index of an author is the largest h where he has at least h papers with citations not less than h. Bobo has no pap 阅读全文