Borderou de evaluare (job #1799883)
Utilizator | Data | 6 noiembrie 2016 22:27:26 | |
---|---|---|---|
Problema | Joctv | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:32:41: error: ‘k’ undeclared (first use in this function)
sum+=(sum_array[k][j] - sum_array[k][i]);
^
user.c:32:41: note: each undeclared identifier is reported only once for each function it appears in
user.c:10:9: warning: variable ‘sum_array’ set but not used [-Wunused-but-set-variable]
int sum_array[n][n];
^
user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%i",&n);
^
user.c:18:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%i",&a);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !