下面程序的时间复杂为( )for(i=1,s=0; i<=n; i++) {t=1;for(j=1;j<=i;j++) t=t*j;s=s+t;} A、O(n)B、O(n2)C、O(n3)D、O(n4) 发布时间:2025-10-27 13:24:51