Run ID:8405

提交时间:2025-11-30 12:46:10

#include<iostream> using namespace std; int main(){ int n; while(cin >> n){ cout<<n*(n+1)/2<<endl; } return 0; }