提交时间:2025-12-08 19:35:09

运行 ID: 75636

#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; cout<<(n+1)*n/2; return 0; }