Borderou de evaluare (job #508151)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Subsecvență crescătoare (clasa a 5-a) | Compilator | c |
Rundă | Tema 14 clasa 5 | Status | evaluat |
Dată | 28 nov. 2019 22:24:24 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function 'main':
user.c:7:5: warning: passing argument 1 of 'fopen' from incompatible pointer type [enabled by default]
/usr/include/stdio.h:273:14: note: expected 'const char * __restrict__' but argument is of type 'struct FILE *'
user.c:7:5: error: too many arguments to function 'fopen'
/usr/include/stdio.h:273:14: note: declared here
user.c:27:5: warning: passing argument 1 of 'fopen' from incompatible pointer type [enabled by default]
/usr/include/stdio.h:273:14: note: expected 'const char * __restrict__' but argument is of type 'struct FILE *'
user.c:27:5: error: too many arguments to function 'fopen'
/usr/include/stdio.h:273:14: note: declared here
user.c:8:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
user.c:9:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
user.c:14:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]