Run ID:150691
提交时间:2026-03-30 16:35:43
#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; }