This commit is contained in:
2025-02-05 07:54:41 +03:00
parent 4e7fa1b23f
commit 0b7e3b6cb0
6 changed files with 108 additions and 0 deletions

View File

@ -0,0 +1,17 @@
#include <stdio.h>
int main(void) {
int x = 0, counter = 0;
scanf("%d", &x);
for(int t = 0; t < x; t++){
int i;
scanf("%d", &i);
counter += i;
}
printf("%d\n", counter/x);
return 0;
}