摘要:
Dp。参见大神的题解#include#include#include#include#includeconst long long Mod = 1e9+7;const int MAXN = 1e5+5, MAXM = 2e5 + 5;struct Edge{int v,next; E... 阅读全文
摘要:
对每个数分解质因数,然后对每个质因子有一个异或方程, 解异或方程,记其中自由元的个数为f,答案即为 2f−1。#include#include#include#includeconst int MAXN = 105, Nya = -1;typedef int Array[MAXN][... 阅读全文