Run ID:150690

提交时间:2026-03-30 16:35:36

#include<iostream> using namespace std; int main(){ int w,e; cin>>w; e=0; for(int x=1;x<=w;x++){ e=e+x; } cout<<e; }