Borderou de evaluare (job #1114386)
| Utilizator | Data | 21 februarie 2014 16:17:43 | |
|---|---|---|---|
| Problema | Algoritmul lui Euclid | Status | done |
| Runda | Arhiva educationala | Compilator | c | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.c: In function ‘gcd’:
user.c:5:10: warning: left-hand operand of comma expression has no effect [-Wunused-value]
return(b,a mod b);
^
user.c:5:13: error: expected ‘)’ before ‘mod’
return(b,a mod b);
^
user.c: In function ‘main’:
user.c:12:2: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
scanf("%d",&n);
^
user.c:12:2: warning: incompatible implicit declaration of built-in function ‘scanf’ [enabled by default]
user.c:16:3: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
printf("%d\n",gcd(a,b));
^
user.c:16:3: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
