POJ3134 Power Calculus(IDDFS)
Description
Starting with x and repeatedly multiplying by x, we can compute x31 with thirty multiplications:
x2 = x × x, x3 = x2 × x, x4 = x3 × x, …, x31 = x30 × x.
The operation of squaring can be ap...
原创
2019-01-27 20:19:08 ·
272 阅读 ·
0 评论