Borderou de evaluare (job #1356028)

Utilizator achirialexAlexandru Achiritoaei achirialex Data 23 februarie 2015 09:30:52
Problema Convertor Status done
Runda rosedu_cdl_2015 Compilator c | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:70:13: warning: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration] auxiliar = strdup(linie);//strcpy(auxiliar, linie); ^ user.c:70:22: warning: assignment makes pointer from integer without a cast [enabled by default] auxiliar = strdup(linie);//strcpy(auxiliar, linie); ^ user.c:79:17: warning: passing argument 1 of ‘realloc’ makes pointer from integer without a cast [enabled by default] header =(char**)realloc(capHeader, sizeof(char*)); ^ In file included from user.c:2:0: /usr/include/stdlib.h:485:14: note: expected ‘void *’ but argument is of type ‘int’ extern void *realloc (void *__ptr, size_t __size) ^ user.c:90:17: warning: passing argument 1 of ‘realloc’ makes pointer from integer without a cast [enabled by default] elements = (char**)realloc(capElem, sizeof(char*)); ^ In file included from user.c:2:0: /usr/include/stdlib.h:485:14: note: expected ‘void *’ but argument is of type ‘int’ extern void *realloc (void *__ptr, size_t __size) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1204kbOK10
20ms1200kbOK10
30ms1204kbKilled by signal 11(SIGSEGV).0
412ms1232kbOK10
58ms1220kbIncorect0
64ms1224kbOK10
70ms1208kbOK10
868ms2028kbKilled by signal 11(SIGSEGV).0
98ms1292kbKilled by signal 11(SIGSEGV).0
108ms1292kbKilled by signal 11(SIGSEGV).0
Punctaj total50

Ceva nu functioneaza?