提交时间:2024-03-29 14:50:09

运行 ID: 44100

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