Borderou de evaluare (job #3358219)
| Utilizator | Data | 15 iunie 2026 14:18:47 | |
|---|---|---|---|
| Problema | Algoritmul lui Euclid extins | Status | done |
| Runda | Arhiva educationala | Compilator | c-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:40:19: error: 'd' undeclared (first use in this function)
40 | euclid(a, b, &d, &x, &y);
| ^
main.c:40:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:40:22: warning: passing argument 4 of 'euclid' from incompatible pointer type [-Wincompatible-pointer-types]
40 | euclid(a, b, &d, &x, &y);
| ^~
| |
| long long int *
main.c:3:40: note: expected 'int *' but argument is of type 'long long int *'
3 | void euclid(int a, int b, int *c, int *x, int *y)
| ~~~~~^
main.c:40:26: warning: passing argument 5 of 'euclid' from incompatible pointer type [-Wincompatible-pointer-types]
40 | euclid(a, b, &d, &x, &y);
| ^~
| |
| long long int *
main.c:3:48: note: expected 'int *' but argument is of type 'long long int *'
3 | void euclid(int a, int b, int *c, int *x, int *y)
| ~~~~~^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
