提交时间:2024-03-29 14:50:34
运行 ID: 44101
#include<iostream> using namespace std; int main() { int n; cin>>n; cout<<(n*(n+1))/2; return 0; }