public int Sum_Solution(int n) { int sum = n; (sum!=0) && ((sum += Sum_Solution(n - 1)))!=0; return sum; }
还看到有大佬用static的做法,属实巧妙