Borderou de evaluare (job #1483972)
Utilizator | Data | 10 septembrie 2015 11:20:19 | |
---|---|---|---|
Problema | Al k-lea termen Fibonacci | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:42:5: error: request for member ‘t’ in something not a structure or union
tab.t[0][0] = 0;
^
user.c:43:5: error: request for member ‘t’ in something not a structure or union
tab.t[0][1] = 1;
^
user.c:44:5: error: request for member ‘t’ in something not a structure or union
tab.t[1][0] = 1;
^
user.c:45:5: error: request for member ‘t’ in something not a structure or union
tab.t[1][1] = 1;
^
user.c:51:3: error: incompatible type for argument 1 of ‘put’
mat mult = put(tab, k - 1);
^
user.c:19:5: note: expected ‘mat’ but argument is of type ‘struct mat (*)[2]’
mat put(mat n, int p) {
^
user.c:38:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d\n", &k);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !