下述算法的时间复杂度为()
intfact(int n) {
if (n <= 1) return 1;
return n * fact(n-1);
}