提交时间:2026-06-05 15:28:43

运行 ID: 90325

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