提交时间:2024-03-29 15:14:00

运行 ID: 44178

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