提交时间:2024-03-29 15:09:27

运行 ID: 44163

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