22. For the following function foo, which statement is true?
(A) If n>1, the returned value of function foo must be even.
(B) The time complexity of function foo is O(n?).
(C) For any integer n>=1, function foo calculates the value of 2-1 i.
(D) The value returned by foo(2.8) is 3.
(E) All the above statements are true.
答案:登入後查看
統計: A(1), B(1), C(1), D(0), E(0) #2826217
統計: A(1), B(1), C(1), D(0), E(0) #2826217