摘要:
\(1.\) 最大流 点击查看代码 #include <bits/stdc++.h> #define int long long using namespace std; const int inf = 1e9; const int N = 2e5 + 100; int n, m, s, t, he 阅读全文
摘要:
CF1717E Madoka and The Best University 妙妙题。 \(\gcd(a,b)=\gcd(a,a+b)=gcd(a,n-c)\) 枚举 \(c\),原式为 \(\sum\operatorname{lcm}(c,\gcd(a,n-c))\),枚举 \(\gcd(a,n- 阅读全文