func getSum(n int) int { var sum int ff(n,&sum) return sum } func ff(n int,result* int)int{ *result+=n _=n>0&&ff(n-1,result)>0 return n }