正文
增加 5 行删除 0 行
7 行未改动891011121314151,884 行未改动全部展开19001901190219037 行未改动数论知识:差不多还在。码力:归零。---为不摆,至此。## $\small \rm Date$ $\large 9.17$复习组合数学与计数类 $\rm DP$。1,884 行未改动全部展开求证 $f(2^m-t-1)+2^m=f(2^m+t)$。将 $f(k)$ 拆开,代入原式,即求证:$$(2^m-t-1) \oplus \left \lfloor \frac{(2^m-t-1)}{2} \right \rfloor + 2^m= (2^m+t) \oplus \left \lfloor \frac{(2^m+t)}{2} \right \rfloor$$7 行未改动89101112131415161,884 行未改动全部展开190119021903190419051906190719087 行未改动数论知识:差不多还在。码力:归零。---虽然很不喜欢 OI,但是秉承着既来之则安之的原则和道理还是微卷一下。为不摆,至此。## $\small \rm Date$ $\large 9.17$复习组合数学与计数类 $\rm DP$。1,884 行未改动全部展开求证 $f(2^m-t-1)+2^m=f(2^m+t)$。将 $f(k)$ 拆开,代入原式,即求证:$$(2^m-t-1) \oplus \left \lfloor \frac{(2^m-t-1)}{2} \right \rfloor + 2^m= (2^m+t) \oplus \left \lfloor \frac{(2^m+t)}{2} \right \rfloor$$观察二进制异或性质:- $2^m\oplus 2^{m+1}=3\times 2^m$- $(2^m+t) \oplus (2^{m-1}+\left \lfloor \frac{t}{2} \right \rfloor) = (2^m\oplus 2^{m-1})+(t \oplus \left \lfloor \frac{t}{2} \right \rfloor)$