提交时间:2025-12-26 15:33:54

运行 ID: 78271

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