Language: C

#include<stdio.h>
long long int min(long long int*);
long long int max(long long int*);
long long int sum(long long int*);
#define FOR for(i=1;i<N;i++)
long long int N;
main() {
	long long int i;
	long long int a[10000];
	scanf("%d", &N);
	for (i = 0;i < N;i++) {
		scanf("%d", &a[i]);
	
	}

	prlong long intf("%d %d %d\n",min(a),max(a),sum(a));
	return 0;
	
}
long long int min(long long int *KNN) {
	long long int i;
	long long long int kotae = KNN[0];
	FOR{
		if (kotae> KNN[i])
			kotae = KNN[i];
     }
	return kotae;


}

long long long long int max(long long long long int *KNN) {
	long long long long int i;
	long long long long int kotae = KNN[0];
	FOR{
		if (kotae < KNN[i]) {
			kotae = KNN[i];
				}
	}
	return kotae;
	
}

long long int sum(long long int *KNN) {
	long long int i;
	long long long long int kotae = KNN[0];
	FOR {
		kotae += KNN[i];
	}
	return kotae;


Compiler output:
main.c:7:1: error: return type defaults to 'int' [-Wimplicit-int]
    7 | main() {
      | ^~~~
main.c: In function 'main':
main.c:16:9: error: 'prlong' undeclared (first use in this function)
   16 |         prlong long intf("%d %d %d\n",min(a),max(a),sum(a));
      |         ^~~~~~
main.c:16:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:16:15: error: expected ';' before 'long'
   16 |         prlong long intf("%d %d %d\n",min(a),max(a),sum(a));
      |               ^~~~~
      |               ;
main.c: In function 'min':
main.c:22:19: error: 'long long long' is too long for GCC
   22 |         long long long int kotae = KNN[0];
      |                   ^~~~
main.c: At top level:
main.c:32:11: error: 'long long long' is too long for GCC
   32 | long long long long int max(long long long long int *KNN) {
      |           ^~~~
main.c:32:16: error: 'long long long' is too long for GCC
   32 | long long long long int max(long long long long int *KNN) {
      |                ^~~~
main.c:32:39: error: 'long long long' is too long for GCC
   32 | long long long long int max(long long long long int *KNN) {
      |                                       ^~~~
main.c:32:44: error: 'long long long' is too long for GCC
   32 | long long long long int max(long long long long int *KNN) {
      |                                            ^~~~
main.c: In function 'max':
main.c:33:19: error: 'long long long' is too long for GCC
   33 |         long long long long int i;
      |                   ^~~~
main.c:33:24: error: 'long long long' is too long for GCC
   33 |         long long long long int i;
      |                        ^~~~
main.c:34:19: error: 'long long long' is too long for GCC
   34 |         long long long long int kotae = KNN[0];
      |                   ^~~~
main.c:34:24: error: 'long long long' is too long for GCC
   34 |         long long long long int kotae = KNN[0];
      |                        ^~~~
main.c: In function 'sum':
main.c:46:19: error: 'long long long' is too long for GCC
   46 |         long long long long int kotae = KNN[0];
      |                   ^~~~
main.c:46:24: error: 'long long long' is too long for GCC
   46 |         long long long long int kotae = KNN[0];
      |                        ^~~~
main.c:50:9: error: expected declaration or statement at end of input
   50 |         return kotae;
      |         ^~~~~~