Borderou de evaluare (job #1342468)

Utilizator theo.stoicanTheodor Stoican theo.stoican Data 14 februarie 2015 01:36:36
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
10ms240kbOK10
20ms248kbOK10
30ms252kbOK10
40ms256kbOK10
50ms268kbOK10
60ms256kbOK10
70ms248kbOK10
8Depăşit1964kbTime limit exceeded.0
960ms1188kbKilled by signal 11(SIGSEGV).0
1060ms1436kbKilled by signal 11(SIGSEGV).0
Punctaj total70

Ceva nu functioneaza?