摘要:
题意 n个人能选择黑暗面和光明面,选择两个面分别能获得$L_i$和$R_i$的力量,有m对人不能选择同一面,问n个人的力量中的最大值 最小值尽可能小为多少。 $1 define fi first define se second define pb push_back define lson l,m 阅读全文
摘要:
题意 给定两个长度为n的排列p和q,构造一个字符串s满足$s[p_i] define fi first define se second define lson l,mid,pg[maxn]; setf[maxn]; int d[maxn],rk[maxn]; int res= 1; void df 阅读全文
摘要:
```c++ class BigNum { public: static const int MOD = 100000000; static const int BIT = 8, SIZE = 105; mutable int n,o; long long u[SIZE]; BigNum(){} BigNum(const string& s){ memset(this,0,sizeof(BigNu 阅读全文