he he he

De.  •  18天前


include

using namespace std; int main() {

int n;
cin >> n;
cout << (1 + n)*n / 2 + 1;
return 0;

}


评论:

请先登录,才能进行评论