class Solution {
public:
int Sum_Solution(int n) {
int sum = 0;
while(n >= 0) {
sum += (n--);
}
return sum;
}
};
class Solution {
public:
int Sum_Solution(int n) {
int sum = 0;
while(n >= 0) {
sum += (n--);
}
return sum;
}
};