填空题

for(i=1,t=1,s=0;i<=n;i++){t=t*i;s=s+t;}的时间复杂度为()

【参考答案】

O(n)
热门 试题