Borderou de evaluare (job #1290245)
Utilizator | Data | 10 decembrie 2014 23:34:26 | |
---|---|---|---|
Problema | Algoritmul lui Euclid extins | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘euclid’:
user.c:7:6: error: ‘x0’ undeclared (first use in this function)
*x0 = 1;
^
user.c:7:6: note: each undeclared identifier is reported only once for each function it appears in
user.c:8:6: error: ‘y0’ undeclared (first use in this function)
*y0 = 0;
^
user.c:14:12: warning: unused variable ‘auxx’ [-Wunused-variable]
int aux, auxx;
^
user.c:14:7: warning: unused variable ‘aux’ [-Wunused-variable]
int aux, auxx;
^
user.c: In function ‘main’:
user.c:31:9: warning: unused variable ‘g’ [-Wunused-variable]
FILE *g = freopen("euclid3.out", "w", stdout);
^
user.c:30:9: warning: unused variable ‘f’ [-Wunused-variable]
FILE *f = freopen("euclid3.in", "r", stdin);
^
user.c:33:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.c:35:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &a, &b, &c);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !