Borderou de evaluare (job #1798146)
Utilizator | Data | 4 noiembrie 2016 21:36:21 | |
---|---|---|---|
Problema | Clasic | Status | done |
Runda | Arhiva ICPC | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:6:2: error: too few arguments to function ‘fopen’
FILE *input = fopen("clasic.in");
^
In file included from user.c:1:0:
/usr/include/stdio.h:273:14: note: declared here
extern FILE *fopen (__const char *__restrict __filename,
^
user.c:7:2: error: too few arguments to function ‘fopen’
FILE *output = fopen("clasic.out");
^
In file included from user.c:1:0:
/usr/include/stdio.h:273:14: note: declared here
extern FILE *fopen (__const char *__restrict __filename,
^
user.c:8:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(input, "%d %d", &noOfArrays, &noOfElements);
^
user.c:14:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(input, "%d", &number);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !