下面程序的时间复杂性的量级为( )。
int i=0,s1=,s2=0;
while(i++<>< span="">)
{if (i%2) s1+=i;
else s2+=i;
}

A.O(1)

B.O(1bn)

C.O(n)

D.O(2n)
出自:华北水利水电大学-计算机软件技术基础