Borderou de evaluare (job #636810)

Utilizator gicu_01porcescu gicu gicu_01 Data 19 noiembrie 2011 23:58:28
Problema Cautare binara Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘cautare_bin’: user.c:10: warning: unused variable ‘p’ user.c: In function ‘cautare_bin2’: user.c:22: warning: unused variable ‘p’ user.c: In function ‘cautare_bin3’: user.c:35: warning: unused variable ‘p’ user.c: In function ‘main’: user.c:53: warning: format ‘%i’ expects type ‘int *’, but argument 2 has type ‘int’ user.c:57: warning: format ‘%i’ expects type ‘int *’, but argument 2 has type ‘int’ user.c:57: warning: format ‘%i’ expects type ‘int *’, but argument 3 has type ‘int’ user.c:58: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type /usr/include/bits/stdio2.h:96: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ user.c:58: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast /usr/include/bits/stdio2.h:96: note: expected ‘const char * __restrict__’ but argument is of type ‘int’ user.c:58: warning: format not a string literal and no format arguments user.c:59: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type /usr/include/bits/stdio2.h:96: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ user.c:59: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast /usr/include/bits/stdio2.h:96: note: expected ‘const char * __restrict__’ but argument is of type ‘int’ user.c:59: warning: format not a string literal and no format arguments user.c:59: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type /usr/include/bits/stdio2.h:96: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ user.c:59: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast /usr/include/bits/stdio2.h:96: note: expected ‘const char * __restrict__’ but argument is of type ‘int’ user.c:59: warning: format not a string literal and no format arguments user.c:49: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result user.c:50: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result user.c:51: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result user.c:53: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result user.c:54: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result user.c:57: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result user.c: In function ‘cautare_bin3’: user.c:43: warning: control reaches end of non-void function user.c: In function ‘cautare_bin2’: user.c:30: warning: control reaches end of non-void function user.c: In function ‘cautare_bin’: user.c:18: warning: control reaches end of non-void function user.c: At top level: user.c:3: warning: array ‘a’ assumed to have one element user.c: In function ‘main’: user.c:57: warning: ‘k’ may be used uninitialized in this function user.c:57: warning: ‘x’ may be used uninitialized in this function
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms252kbKilled by signal 11(SIGSEGV).00
20ms252kbKilled by signal 11(SIGSEGV).00
30ms252kbKilled by signal 11(SIGSEGV).00
40ms252kbKilled by signal 11(SIGSEGV).00
50ms248kbKilled by signal 11(SIGSEGV).00
60ms252kbKilled by signal 11(SIGSEGV).0
70ms248kbKilled by signal 11(SIGSEGV).00
80ms248kbKilled by signal 11(SIGSEGV).0
90ms248kbKilled by signal 11(SIGSEGV).0
100ms252kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?