提交时间:2025-12-26 15:15:42

运行 ID: 78007

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