Run ID:73083

提交时间:2024-05-16 21:51:09

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