Borderou de evaluare (job #1057548)
Utilizator | Data | 14 decembrie 2013 16:42:41 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:2:1: error: initializer element is not constant
FILE *Read = fopen("adunare.in", "r");
^
user.c:3:1: error: initializer element is not constant
FILE *Write = fopen("adunare", "w");
^
user.c: In function ‘main’:
user.c:7:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int’ [-Wformat=]
fscanf(Read,"%d",a);
^
user.c:8:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int’ [-Wformat=]
fscanf(Read,"%d",b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !