Borderou de evaluare (job #3254453)
Utilizator | Data | 7 noiembrie 2024 16:44:32 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:11:19: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'FILE **' [-Wformat=]
11 | fscanf(a, "%d%d", &x, &b);
| ~^ ~~
| | |
| int * FILE **
main.c:12:23: error: invalid operands to binary + (have 'FILE *' and 'FILE *')
12 | fprintf(b, "%d", a+b);
| ^
main.c:6:12: warning: unused variable 'y' [-Wunused-variable]
6 | int x, y;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !