找考题网-背景图
单项选择题

设n是描述问题规模的正整数,下列程序片段的时间复杂度是______。
y=0;
while(n>=(y+1)*(y+1))
y++;


A.O(log 2 n)
B.O(n)
C.O(nlog 2 n)
D.