单项选择题

for(t=1,k=1;k<=n;k++)
{t=t*2;
for(j=1;j<=t;j++)
s=s+j;}
上述程序段的时间复杂度可以表示为()。

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