Borderou de evaluare (job #824019)
Utilizator | Data | 25 noiembrie 2012 20:06:34 | |
---|---|---|---|
Problema | Subsir crescator maximal | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:33: warning: passing argument 1 of ‘fopen’ from incompatible pointer type
/usr/include/stdio.h:249: note: expected ‘const char * __restrict__’ but argument is of type ‘struct FILE *’
user.c:33: error: too many arguments to function ‘fopen’
user.c:34: warning: passing argument 1 of ‘fopen’ from incompatible pointer type
/usr/include/stdio.h:249: note: expected ‘const char * __restrict__’ but argument is of type ‘struct FILE *’
user.c:34: error: too many arguments to function ‘fopen’
user.c:33: warning: ignoring return value of ‘fopen’, declared with attribute warn_unused_result
user.c:34: warning: ignoring return value of ‘fopen’, declared with attribute warn_unused_result
user.c:36: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
user.c:48: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !