Run ID:2235

提交时间:2023-12-22 23:26:14

#include<stdio.h> int main() { int n; while (scanf("%d", &n)!=EOF) printf("%d\n",(1+n)*n/2); return 0; }