Borderou de evaluare (job #1633779)
Utilizator | Data | 6 martie 2016 12:48:37 | |
---|---|---|---|
Problema | MaxSubSum | Status | done |
Runda | ONIS 2016, Runda 1 | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:19:20: error: size of array ‘c’ is too large
int subsumamat(int c[100000][100000], int lin, int col) {
^
user.c: In function ‘main’:
user.c:36:45: error: size of array ‘c’ is too large
int n,m,a[100000000],b[100000000],i,smax=0,c[100000][100000],j;
^
user.c:49:2: error: type of formal parameter 1 is incomplete
fprintf(f2,"%d", subsumamat(c,n,m));
^
user.c:36:45: warning: unused variable ‘c’ [-Wunused-variable]
int n,m,a[100000000],b[100000000],i,smax=0,c[100000][100000],j;
^
user.c:36:38: warning: unused variable ‘smax’ [-Wunused-variable]
int n,m,a[100000000],b[100000000],i,smax=0,c[100000][100000],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);
^
user.c:41:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d", &a[i]);
^
user.c:43:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d", &b[j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !