Borderou de evaluare (job #1342471)

Utilizator theo.stoicanTheodor Stoican theo.stoican Data 14 februarie 2015 01:38:28
Problema Convertor Status done
Runda rosedu_cdl_2015 Compilator c | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:31:2: warning: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration] copyp = strdup (p); ^ user.c:31:8: warning: assignment makes pointer from integer without a cast [enabled by default] copyp = strdup (p); ^ user.c:32:2: warning: implicit declaration of function ‘strtok_r’ [-Wimplicit-function-declaration] p2 = strtok_r (copyp, ",", tok3); ^ user.c:32:5: warning: assignment makes pointer from integer without a cast [enabled by default] p2 = strtok_r (copyp, ",", tok3); ^ user.c:42:6: warning: assignment makes pointer from integer without a cast [enabled by default] p2 = strtok_r (NULL, ",", tok3); ^ user.c:54:6: warning: assignment makes pointer from integer without a cast [enabled by default] p1 = strtok_r (copyp, ",", tok1); ^ user.c:83:8: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration] if (isdigit (p3[i]) != 0) ^ user.c:88:8: warning: assignment makes pointer from integer without a cast [enabled by default] p1 = strtok_r (NULL, ",", tok1); ^ user.c:6:66: warning: unused variable ‘copyp1’ [-Wunused-variable] char *line, *p, *p1, *p2, *p3, **tok1, **tok2, **tok3, *copyp, *copyp1; ^ user.c:6:8: warning: unused variable ‘line’ [-Wunused-variable] char *line, *p, *p1, *p2, *p3, **tok1, **tok2, **tok3, *copyp, *copyp1; ^ user.c:27:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread (wholefile, sizeof(char),filedim, f); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms272kbOK10
30ms284kbOK10
40ms288kbOK10
50ms296kbOK10
60ms284kbOK10
70ms268kbOK10
8Depăşit1996kbTime limit exceeded.0
960ms1216kbKilled by signal 11(SIGSEGV).0
1060ms1464kbKilled by signal 11(SIGSEGV).0
Punctaj total70

Ceva nu functioneaza?