单选题

现在用如下代码来计算下xn,其时间复杂度为()

A

0(n)

B

0(1)

C

0(logn)

D

0(nlogn)

赣ICP备20007335号-2