Addition Chains POJ - 2248(加深迭代搜索)
An addition chain for n is an integer sequence with the following four properties:
a0 = 1
am = n
a0 < a1 < a2 < … < am-1 < am
For each k (1<=k<=m) there exist two (not nec...
原创
2018-04-05 15:34:13 ·
263 阅读 ·
0 评论