Borderou de evaluare (job #1879212)

Utilizator Coroian_DavidCoroian David Coroian_David Data 14 februarie 2017 19:34:30
Problema Numere9 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int getNr()’: user.cpp:50:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(isDigit[c] == 0 && c != '-') ^ user.cpp:60:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(isDigit[c] == 1) ^ user.cpp: In function ‘void scrieNumarulMax9999(int, int)’: user.cpp:215:13: warning: unused variable ‘primaCifra’ [-Wunused-variable] int primaCifra = nr / 1000; ^ user.cpp:224:13: warning: unused variable ‘primaCifra’ [-Wunused-variable] int primaCifra = nr / 100; ^ user.cpp:234:42: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[50]’ [-Wformat=] fprintf(g, "%s ", numarul[nr]); ^ user.cpp:261:38: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[50]’ [-Wformat=] fprintf(g, "%s ", numarul[nr]); ^ user.cpp: In function ‘void refillBuff()’: user.cpp:32:32: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff, 1, buffSize, f); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms216kbOK10
20ms220kbOK10
30ms220kbOK10
40ms216kbOK10
50ms220kbOK10
60ms216kbOK10
70ms216kbOK10
80ms212kbIncorect0
90ms216kbIncorect0
100ms216kbIncorect0
Punctaj total70

Ceva nu functioneaza?