判断题
运行以下代码的时间复杂度为O(n^2)。
k=0n=11for i in range(n): k=k 1for j in range(n): k=k 2print(k)
A.
正确
B.
错误
发表评论 取消回复