单项选择题

计算下面算法的时间复杂度()。
for(i=1;i
{y=y+1;
for(j=0;j< =2n;j++)
x++;}

A.O(n)
B.O(logn)
C.O(n logn)
D.O(nlogn)