通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
如n=16,一下算法的输出结果为______;用大“O”记号表示的算法时间复杂度为______
def b1(n): k=0 for i in range(0,n): j=1 while j<n: k+=1 j=j<<1 print(k)