Borderou de evaluare (job #1104098)
Utilizator | Data | 10 februarie 2014 14:22:36 | |
---|---|---|---|
Problema | Algoritmul lui Euclid extins | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:3:25: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token
int gcd(int a,int b,int &x,int &y){
^
user.c: In function ‘main’:
user.c:29:4: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int’ [-Wformat=]
fscanf(fp_r,"%d",N);
^
user.c:32:7: warning: implicit declaration of function ‘gcd’ [-Wimplicit-function-declaration]
d=gcd(a,b,x,y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !