Pagini recente » Borderou de evaluare (job #2405780) | Borderou de evaluare (job #2177266) | Borderou de evaluare (job #1804381) | Borderou de evaluare (job #2007480) | Borderou de evaluare (job #1878954)
Borderou de evaluare (job #1878954)
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:249:81: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[50]’ [-Wformat=]
fprintf(g, "%szeci si %s ", cifra[nr / 10], numarul[nr % 10]);
^
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 |
1 | 0ms | 216kb | OK | 10 |
2 | 0ms | 216kb | OK | 10 |
3 | 0ms | 220kb | OK | 10 |
4 | 0ms | 216kb | OK | 10 |
5 | 0ms | 216kb | OK | 10 |
6 | 0ms | 220kb | OK | 10 |
7 | 0ms | 212kb | OK | 10 |
8 | 0ms | 216kb | Incorect | 0 |
9 | 0ms | 212kb | Incorect | 0 |
10 | 0ms | 216kb | Incorect | 0 |
Punctaj total | 70 |