Run ID:129862
提交时间:2025-09-06 17:12:20
#include <iostream> using namespace std; int main() { int n,s; while(n!=EOF){ cin>>n; cout<<n*(1+n)/2; } }