Addition Chains ZOJ - 1937 详细的解释Addition Chains ZOJ - 1937
Addition Chains ZOJ - 1937An addition chain for n is an integer sequence <a0, a1,a2,…,am> with the following four properties:a0 = 1am = na0 < a1 < a2 < … < am-1 < amFor each ...