Run ID:148070
提交时间:2026-02-09 16:30:04
#include<iostream> using namespace std; int main(){ long long a; while(cin>>a) cout<<a*(a+1)/2; return 0; }