第一题  应该 先ans[i]++;   if(num[i] != 0){            ans[num[i]] += ans[i]; //所有崇拜i的小伙伴都可能投给i所崇拜的人  }