Run ID:90004
提交时间:2024-09-07 17:04:05
# include<iostream> using namespace std; int main(){ int n; while(cin >> n){ s = n*(n+1)/2; cout<<s; } return 0; }