Borderou de evaluare (job #1341780)

Utilizator theo.stoicanTheodor Stoican theo.stoican Data 13 februarie 2015 03:01:34
Problema Convertor Status done
Runda rosedu_cdl_2015 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:44:4: warning: implicit declaration of function ‘strtok_r’ [-Wimplicit-function-declaration] searchobj = strtok_r (line, ",", tok); ^ user.c:44:14: warning: assignment makes pointer from integer without a cast [enabled by default] searchobj = strtok_r (line, ",", tok); ^ user.c:50:5: warning: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration] copyobj = strdup (searchobj); ^ user.c:50:13: warning: assignment makes pointer from integer without a cast [enabled by default] copyobj = strdup (searchobj); ^ user.c:58:16: warning: assignment makes pointer from integer without a cast [enabled by default] obj[dim-1] = strdup (searchquote); ^ user.c:60:15: warning: assignment makes pointer from integer without a cast [enabled by default] searchobj = strtok_r (NULL, ",", tok); ^ user.c:67:6: warning: assignment makes pointer from integer without a cast [enabled by default] p = strtok_r (line, "," ,tok); ^ user.c:71:13: warning: assignment makes pointer from integer without a cast [enabled by default] copyobj = strdup (p); ^ user.c:76:17: warning: assignment makes pointer from integer without a cast [enabled by default] obj[dim -1] = strdup (searchquote); ^ user.c:78:7: warning: assignment makes pointer from integer without a cast [enabled by default] p = strtok_r (NULL, ",", tok); ^ user.c:93:9: warning: assignment makes pointer from integer without a cast [enabled by default] line2 = strdup (line); ^ user.c:104:11: warning: assignment makes pointer from integer without a cast [enabled by default] copyp = strdup (p); ^ user.c:114:20: warning: assignment makes pointer from integer without a cast [enabled by default] searchkeycopy2 = strdup (p); ^ user.c:117:16: warning: assignment makes pointer from integer without a cast [enabled by default] searchkey = strtok_r (copyp, ":", tok1); ^ user.c:118:16: warning: assignment makes pointer from integer without a cast [enabled by default] searchkey = strtok_r (NULL, ":", tok1); ^ user.c:145:20: warning: assignment makes pointer from integer without a cast [enabled by default] searchkeycopy = strdup (searchkey); ^ user.c:146:18: warning: assignment makes pointer from integer without a cast [enabled by default]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms384kbIncorect0
20ms400kbIncorect0
30ms396kbIncorect0
40ms428kbIncorect0
50ms436kbIncorect0
60ms412kbIncorect0
70ms400kbIncorect0
88ms604kbKilled by signal 11(SIGSEGV).0
98ms604kbKilled by signal 11(SIGSEGV).0
108ms604kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?