提交时间:2025-07-10 09:33:53
运行 ID: 330403
#include<iostream> using namespace std; int main() { int n; cin>>n; cout<<n*(1+n)/2; return 0; }