Borderou de evaluare (job #32392)

Utilizator avatar yo_andrei_2003 Murica Andrei yo_andrei_2003 IP ascuns
Problemă Cabina (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 26 nov. 2013 21:33:03 Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:7:1: 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:7:1: 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:7:1: warning: format not a string literal and no format arguments [-Wformat-security] user.c:8:1: 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:8:1: 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:1: 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:1: 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:19:1: 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:19:1: 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:36:1: 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:36:1: 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:36:1: warning: format not a string literal and no format arguments [-Wformat-security] user.c:37:1: 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:37:1: 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:37:1: warning: format not a string literal and no format arguments [-Wformat-security] user.c:38:1: 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:38:1: 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:38:1: warning: format not a string literal and no format arguments [-Wformat-security] user.c:3:13: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable] user.c:7:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:8:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:10:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:19:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:5:7: warning: ‘fin’ is used uninitialized in this function [-Wuninitialized]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 160 kb Killed by signal 11(SIGSEGV). 0
2 0 ms 156 kb Killed by signal 11(SIGSEGV). 0
3 0 ms 160 kb Killed by signal 11(SIGSEGV). 0
4 0 ms 156 kb Killed by signal 11(SIGSEGV). 0
5 0 ms 156 kb Killed by signal 11(SIGSEGV). 0
6 0 ms 156 kb Killed by signal 11(SIGSEGV). 0
7 0 ms 160 kb Killed by signal 11(SIGSEGV). 0
8 0 ms 156 kb Killed by signal 11(SIGSEGV). 0
9 0 ms 156 kb Killed by signal 11(SIGSEGV). 0
10 0 ms 156 kb Killed by signal 11(SIGSEGV). 0
Punctaj total 0