CF 242E(zkw线段树-拆位)
E. XOR on Segment time limit per test 4 seconds memory limit per test 256 megaby…
E. XOR on Segment time limit per test 4 seconds memory limit per test 256 megaby…
求和式(x3) 题目描述 作为本场考试的第一题,你的任务十分简单: 给定长度为n的序列A[i],求所有A[i]xor A[j] (i<j)的值之和 输…
P党写几小时的程序 C++才几行…… 首先P的位运算有上限2^30 此时 即便是 int64也会因为补码坑死人的 到1 shl 31时 &nbs…