Borderou de evaluare (job #1633647)

Utilizator BitsPleaseUPB Mihaescu Pavel Voicu BitsPlease Data 6 martie 2016 12:35:40
Problema MaxSubSum Status done
Runda ONIS 2016, Runda 1 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:3:20: error: size of array ‘v’ is too large int subsumavec(int v[1000000000], int lin) { ^ user.c:19:20: error: size of array ‘c’ is too large int subsumamat(int c[1000001000], int lin, int col) { ^ user.c: In function ‘subsumamat’: user.c:20:20: error: size of array ‘v’ is too large int i,st,dr,max=0,v[1000000000],sum=0; ^ user.c:27:5: error: type of formal parameter 1 is incomplete sum=subsumavec(v,lin); ^ user.c:20:20: warning: unused variable ‘v’ [-Wunused-variable] int i,st,dr,max=0,v[1000000000],sum=0; ^ user.c: In function ‘main’: user.c:36:10: error: size of array ‘a’ is too large int n,m,a[1000000000],b[1000000000],i,smax=0,c[1000000000][1000000000],j; ^ user.c:36:24: error: size of array ‘b’ is too large int n,m,a[1000000000],b[1000000000],i,smax=0,c[1000000000][1000000000],j; ^ user.c:36:47: error: size of array ‘c’ is too large int n,m,a[1000000000],b[1000000000],i,smax=0,c[1000000000][1000000000],j; ^ user.c:49:2: error: type of formal parameter 1 is incomplete fprintf(f2,"%d", subsumamat(c,n,m)); ^ user.c:36:47: warning: unused variable ‘c’ [-Wunused-variable] int n,m,a[1000000000],b[1000000000],i,smax=0,c[1000000000][1000000000],j; ^ user.c:36:40: warning: unused variable ‘smax’ [-Wunused-variable] int n,m,a[1000000000],b[1000000000],i,smax=0,c[1000000000][1000000000],j; ^ user.c:36:24: warning: unused variable ‘b’ [-Wunused-variable] int n,m,a[1000000000],b[1000000000],i,smax=0,c[1000000000][1000000000],j; ^ user.c:36:10: warning: unused variable ‘a’ [-Wunused-variable] int n,m,a[1000000000],b[1000000000],i,smax=0,c[1000000000][1000000000],j; ^ user.c:39:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d %d", &n, &m); ^

Ceva nu functioneaza?