摘要:
链接:https://www.nowcoder.com/acm/contest/81/C来源:牛客网时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述给出一个 0 ≤ N ≤ 105 点数、0 ≤ M 阅读全文
摘要:
链接:https://www.nowcoder.com/acm/contest/81/E来源:牛客网题目描述给一个1-base数组{a},有N次操作,每次操作会使一个位置无效。一个区间的权值定义为这个区间里选出一些数的异或和的最大值。求在每次操作前,所有不包含无效位置的区间的权值的最大值。输入描述: 阅读全文
摘要:
XORConsider an array A with n elements. Each of its element is A[i] (1 ≤ i ≤ n). Then gives two integersQ, K, and Q queries follow. Each query, give y 阅读全文