下面的Python程序的时间复杂度是否为O(n2)?( ) n = 1000 total = 0 for i in range(n): for j in range(i, n): total += 1 print(total)
对
错