#include<bits/stdc++.h> using namespace std; int main() { int n,m=0; scanf("%d",&n); for(int i=1;i<=n;i++){ m=m+i; } printf("%d",m); return 0; }
怎么个事