从这里开始 题目目录 Problem A XOR Circle 你发现,权值的循环节为 $a_0, a_1, a_0\oplus a_1$,然后暴力即可. Code #include <bits/stdc++.h> using namespace std; typedef bool boolean; const int N = 1e5 + 5; int n; int a[N], b[N]; void quitif(boolean condition, const char* vert = &q…
D. Little Victor and Set time limit per test:1 second memory limit per test:256 megabytes input:standard input output:standard output Little Victor adores the sets theory. Let us remind you that a set is a group of numbers where all numbers are pairw…