提交时间:2025-11-09 17:45:53
运行 ID: 73429
#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; cout<<n*(n+1)/2; return 0; }