Borderou de evaluare (job #2202022)
Utilizator | Data | 7 mai 2018 00:37:16 | |
---|---|---|---|
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:6:7: error: too few arguments to function ‘fopen’
in = fopen("adunare.in");
^~~~~
In file included from user.c:1:0:
/usr/include/stdio.h:272:14: note: declared here
extern FILE *fopen (const char *__restrict __filename,
^~~~~
user.c:7:8: error: too few arguments to function ‘fopen’
out = fopen("adunare.out");
^~~~~
In file included from user.c:1:0:
/usr/include/stdio.h:272:14: note: declared here
extern FILE *fopen (const char *__restrict __filename,
^~~~~
user.c:9:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &a, &b);
^~~~~~~~~~~~~~~~~~~~~~~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !