public class Solution { int[] nums = {0}; public int Sum_Solution(int n) { try { return nums[n]; } catch(Exception e) { return Sum_Solution(n - 1) + n; } } }拿下