摘要:
A Candies "题目链接" 观察这个式子左边,这玩意就等于 $x(2^k 1)$。于是我们枚举所有的 $2^k 1$,看看是否存在 $x$ cpp include include include using namespace std; const int N = 2333333; int T 阅读全文
摘要:
A Candies and Two Sisters 题目链接 没有什么好说的,直接上代码: #include <iostream> #include <cstdio> #include <cstring> using namespace std; int T, n; int main() { sca 阅读全文