05 2015 档案
摘要:传送门:A Bug's Life Description Background Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature tw
阅读全文
摘要:时间限制:5000ms单点时限:1000ms内存限制:256MB描述大家对斐波那契数列想必都很熟悉: 。现在考虑如下生成的斐波那契数列:$a_0 = 1, a_i = a_j + a_k, i >
阅读全文
摘要:位运算是状态压缩DP的基础。 算符 C/C++中的位运算算符(按优先级排序): 红色算符与位运算算符的优先级高低顺序容易弄混,这里强调一下。 ! ~ (bitwise NOT) 按位非 ~x * / % + - > >= < <= << >> (bitwise left shift and righ
阅读全文