摘要:
题目链接 A. 因式分解 题面 思路 分解质因数模板题 示例代码 #include<bits/stdc++.h> using namespace std; #define ll long long //#define int ll #define pii pair<int, int> #define 阅读全文
摘要:
题目链接 题面 思路 首先需要掌握异或的几个性质: ① 若\(a \oplus b = c\) <=> \(a \oplus c = b\) ② 异或运算是两个数在二进制表示下不进位的加法,于是就有\(a - b <= a \oplus b <= a + b\) 分析此题,因为a, b 均是 gcd 阅读全文