提交时间:2023-01-11 15:13:16

运行 ID: 4013

#include<iostream> using namespace std; int main(){ int n; cin>>n; cout<<(n*n+n)/2; return 0; }