Borderou de evaluare (job #1351880)
Utilizator | Data | 21 februarie 2015 11:40:58 | |
---|---|---|---|
Problema | Por Costel si Azerah | Status | done |
Runda | ONIS 2015, Runda 1 | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:34:12: error: ‘even’ undeclared (first use in this function)
dp[0] = even % MODULO;
^
user.c:34:12: note: each undeclared identifier is reported only once for each function it appears in
user.c:35:12: error: ‘odd’ undeclared (first use in this function)
dp[1] = odd % MODULO;
^
user.c:10:18: warning: unused variable ‘k’ [-Wunused-variable]
int t, n, i, j, k;
^
user.c:11:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &t);
^
user.c:14:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
user.c:18:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &v[j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !