Run ID:2234

提交时间:2023-12-22 22:47:44

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