Borderou de evaluare (job #1360980)

Utilizator TwistedFaithStanescu Jean Alexandru TwistedFaith Data 25 februarie 2015 19:03:18
Problema Convertor Status done
Runda rosedu_cdl_2015 Compilator c | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.c: In function ‘solveKeys’: user.c:46:15: warning: unused variable ‘ptr2’ [-Wunused-variable] char *ptr1, *ptr2, *str, *aux; ^ user.c: In function ‘main’: user.c:24:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("convertor.out", "wt", stdout); ^ user.c: In function ‘solveKeys’: user.c:54:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(str, 1025, pFile); ^ user.c: In function ‘solveValues’: user.c:94:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(str, 1025, pFile); ^ user.c: In function ‘solveKeys’: user.c:61:24: warning: ‘ptr1’ may be used uninitialized in this function [-Wmaybe-uninitialized] strncpy(aux, ptr1 + 1, str + i - ptr1 - 1); ^ user.c: In function ‘solveValues’: user.c:126:12: warning: ‘ptr2’ may be used uninitialized in this function [-Wmaybe-uninitialized] nfprint(ptr1, ptr2 - ptr1); ^ user.c:126:12: warning: ‘ptr1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbOK10
20ms236kbIncorect0
30ms240kbOK10
40ms236kbOK10
50ms236kbOK10
60ms240kbOK10
70ms236kbIncorect0
864ms236kbOK10
948ms236kbOK10
1052ms240kbOK10
Punctaj total80

Ceva nu functioneaza?