下面程序的时间复杂度是void fun( int n) { int i=1; while (i<=n) i=i*3} A、O(n); B、O(nlog3n) (3为下标); C、O(n²) ; D、O(log3n)(3为下标) 发布时间:2025-02-26 19:49:30