judge 难度 3
f(n) = n + f(n-1)。
下面的递归函数,f(5) 的返回值是 15。 int f(int n) { if (n <= 0) return 0; return n + f(n - 1); }