Run ID:69420
提交时间:2024-04-03 22:04:10
#include <iostream> using namespace std; int main (){ int a; while(cin >> a){ cout << (a*(a+1)/2) << endl; } }