Borderou de evaluare (job #1361003)

Utilizator TwistedFaithStanescu Jean Alexandru TwistedFaith Data 25 februarie 2015 19:07:50
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:93: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:60: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:125:12: warning: ‘ptr2’ may be used uninitialized in this function [-Wmaybe-uninitialized] nfprint(ptr1, ptr2 - ptr1); ^ user.c:125:12: warning: ‘ptr1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbOK10
20ms236kbIncorect0
30ms240kbOK10
40ms240kbOK10
50ms236kbOK10
60ms236kbOK10
70ms232kbIncorect0
868ms236kbOK10
948ms236kbOK10
1048ms232kbOK10
Punctaj total80

Ceva nu functioneaza?