提交时间:2025-12-26 14:42:15
运行 ID: 77710
#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; cout<<n * (n + 1) / 2; return 0; }