Borderou de evaluare (job #96274)

Utilizator avatar Andrei123 Popescu Andrei Andrei123 IP ascuns
Problemă Cozonaci (clasa 5-6) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 9 dec. 2014 01:05:19 Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:13:2: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default] /usr/include/stdio.h:449:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ user.c:13:2: warning: passing argument 2 of ‘fscanf’ from incompatible pointer type [enabled by default] /usr/include/stdio.h:449:12: note: expected ‘const char * __restrict__’ but argument is of type ‘int *’ user.c:20:6: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default] /usr/include/stdio.h:449:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ user.c:20:6: warning: passing argument 2 of ‘fscanf’ from incompatible pointer type [enabled by default] /usr/include/stdio.h:449:12: note: expected ‘const char * __restrict__’ but argument is of type ‘int *’ user.c:20:6: warning: format not a string literal and no format arguments [-Wformat-security] user.c:21:6: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default] /usr/include/stdio.h:449:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ user.c:21:6: warning: passing argument 2 of ‘fscanf’ from incompatible pointer type [enabled by default] /usr/include/stdio.h:449:12: note: expected ‘const char * __restrict__’ but argument is of type ‘int *’ user.c:21:6: warning: format not a string literal and no format arguments [-Wformat-security] user.c:8:8: warning: variable ‘f’ set but not used [-Wunused-but-set-variable] user.c:13:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:20:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:21:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 164 kb Killed by signal 11(SIGSEGV). 0
2 0 ms 168 kb Killed by signal 11(SIGSEGV). 0
3 0 ms 164 kb Killed by signal 11(SIGSEGV). 0
4 0 ms 168 kb Killed by signal 11(SIGSEGV). 0
5 0 ms 164 kb Killed by signal 11(SIGSEGV). 0
6 0 ms 164 kb Killed by signal 11(SIGSEGV). 0
7 0 ms 168 kb Killed by signal 11(SIGSEGV). 0
8 0 ms 168 kb Killed by signal 11(SIGSEGV). 0
9 0 ms 164 kb Killed by signal 11(SIGSEGV). 0
10 0 ms 172 kb Killed by signal 11(SIGSEGV). 0
Punctaj total 0