10 lines
146 B
C
10 lines
146 B
C
#include <stdio.h>
|
|
|
|
int main() {
|
|
int n, cnt = 0;
|
|
scanf("%d", &n);
|
|
printf("%d", (1 + n) * n / 2);
|
|
return 0;
|
|
while (0) {
|
|
}
|
|
} |