Borderou de evaluare (job #2145001)
Utilizator | Data | 27 februarie 2018 00:49:05 | |
---|---|---|---|
Problema | Paranteze2 | Status | done |
Runda | Arhiva Monthly | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:15:15: error: too few arguments to function ‘fopen’
FILE *f = fopen("paranteze2.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:16:15: error: too few arguments to function ‘fopen’
FILE *g = fopen("paranteze2.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:18:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%s", S);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !