下面这段程序的时间复杂度为平方阶$O(n^2)$。( )
def fun(n):
sum1 = 0
for i in range(n):
sum1 += i
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析