提交时间:2025-09-07 18:13:52
运行 ID: 346638
#include<bits/stdc++.h> using namespace std; int n; int main(){ cin>>n; cout<<n*(1+n)/2; return 0; }