摘要:
问题描述 "LG1640" 题解 一开始以为是把$(a,b)$作为左右部点,发现$n \le 1000000$,建图是$O(n^2)$的,会爆掉 属性值向$i$建边。 $\mathrm{Code}$ cpp include using namespace std; template void rea 阅读全文
摘要:
问题描述 "LG2602" "BZOJ1833" 题解 数位$\mathrm{DP}$板子题。 注意限制位数、前导零。 $[a,b]=[1,b] [1,a 1]$ $\mathrm{Code}$ cpp include using namespace std; define int long lon 阅读全文