Borderou de evaluare (job #2019560)
Utilizator | Data | 8 septembrie 2017 00:54:53 | |
---|---|---|---|
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 ‘BEZOUT’:
user.c:18:12: error: ‘d’ undeclared (first use in this function)
return d;
^
user.c:18:12: note: each undeclared identifier is reported only once for each function it appears in
user.c:12:15: warning: variable ‘D’ set but not used [-Wunused-but-set-variable]
int x, y, D;
^
user.c:19:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.c: In function ‘main’:
user.c:25:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("euclid3.in", "r", stdin);
^
user.c:26:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("euclid3.out", "w", stdout);
^
user.c:28:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &lines);
^
user.c:31:15: 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 !