提交时间:2025-12-09 13:04:16

运行 ID: 75669

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