通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
判断函数q4的功能,求出算法的时间复杂度______
def q4 (n) : count=0 while n>0: print(n) count+=1&n n>>=1 return count