单项选择题

下面这个程序段的时间复杂度是( )。 for (i=1;i<n;i++) { y=y+1; for (j=0;j<=(2*n);j++) x++; }

A.O(1og2
B.O(
C.O(nlog2
D.O(n2)