Borderou de evaluare (job #6522)

Utilizator avatar Cezzy123 Oprina Cezar Cezzy123 IP ascuns
Problemă Adunare Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 22 ian. 2013 20:56:58 Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:10:5: 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:10:5: 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:10:5: warning: format not a string literal and no format arguments [-Wformat-security] user.c:11:5: 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:11:5: 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:11:5: warning: format not a string literal and no format arguments [-Wformat-security] user.c:17:5: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default] /usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ user.c:17:5: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [enabled by default] /usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘const char * __restrict__’ but argument is of type ‘int’ user.c:17:5: warning: format not a string literal and no format arguments [-Wformat-security] user.c:10:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:11: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 180 kb Killed by signal 11(SIGSEGV). 0
2 0 ms 176 kb Killed by signal 11(SIGSEGV). 0
Punctaj total 0