Run ID:2233

提交时间:2023-12-22 22:42:36

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