2017年5月29日
摘要: n位二进制,求不包含连续1的二进制(n位)数字个数。 http://www.geeksforgeeks.org/count-number-binary-strings-without-consecutive-1s/ 也可以令f[i],表示共i位的二进制数字中,不包含连续1的二进制(i位)数字的个数。 阅读全文
posted @ 2017-05-29 09:48 chenguang9239 阅读(320) 评论(0) 推荐(0) 编辑