单项选择题

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

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