摘要:
[BZOJ2588][Spoj 10628]Count on a tree 试题描述 给定一棵N个节点的树,每个点有一个权值,对于M个询问(u,v,k),你需要回答u xor lastans和v这两个节点间第K小的点权。其中lastans是上一个询问的答案,初始为0,即第一个询问的u是明文。 给定一 阅读全文
摘要:
[codeforces722D]Generating Sets 试题描述 You are given a set Y of n distinct positive integers y1, y2, ..., yn. Set X of n distinct positive integers x1, 阅读全文
摘要:
[codeforces722C]Destroying Array 试题描述 You are given an array consisting of n non-negative integers a1, a2, ..., an. You are going to destroy integers 阅读全文