摘要:
题意: 求最大矩阵面积,要求矩阵内数字满足$max min include include include include include include include include include include include include define ll long long usin 阅读全文
摘要:
题意: 强制在线,求$LR$区间最大子集异或和 思路: 求线性基的时候,记录一个$pos[i]$表示某个$d[i]$是在某个位置更新进入的。如果插入时$d[i]$的$pos[i]$小于我当前插入的$pos[r]$,那么就用当前插入的数换出原来的$d[i]$,继续进行插入并更新$pos$,这样就能保证 阅读全文