public class Solution { public int Sum_Solution(int n) { // &&短路运算 boolean b = n > 1 && (n = (1+n)*n/2) > 0; return n; } }