Borderou de evaluare (job #1400949)
| Utilizator | Data | 25 martie 2015 16:10:56 | |
|---|---|---|---|
| Problema | A+B | Status | done |
| Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:9:17: error: invalid operands to binary & (have ‘char *’ and ‘int’)
fscanf(f, "%d" &a);
^
user.c:10:17: error: invalid operands to binary & (have ‘char *’ and ‘int’)
fscanf(f, "%d" &b);
^
user.c:11:18: error: expected ‘)’ before ‘a’
fprintf(g, "%d" a+b);
^
user.c:11:18: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
