判断题

运行以下代码的时间复杂度为O(n2)。( )

k=0
n=11
for i in range(n):
    k=k+1
for j in range(n):    
    k=k+2
print(k)
A 正确
B 错误
赣ICP备20007335号-2