Borderou de evaluare (job #1432119)
Utilizator | Data | 9 mai 2015 11:49:05 | |
---|---|---|---|
Problema | Secv1 | Status | done |
Runda | test_practic_pa_1 | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:19:3: error: ‘start’ undeclared (first use in this function)
start = 0;
^
user.c:19:3: note: each undeclared identifier is reported only once for each function it appears in
user.c:10:33: warning: variable ‘end’ set but not used [-Wunused-but-set-variable]
int v[MaxN], N, lung, max, i, end;
^
user.c:7:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv1.in", "r", stdin);
^
user.c:8:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv1.out", "w", stdout);
^
user.c:12:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.c:14:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !