Pagini recente » Borderou de evaluare (job #2853652) | Borderou de evaluare (job #1964302) | Borderou de evaluare (job #1620945) | Borderou de evaluare (job #2591015) | Borderou de evaluare (job #2138238)
Borderou de evaluare (job #2138238)
Raport evaluator
Compilare:
user.cpp: In function ‘void frecventa()’:
user.cpp:32:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr[0][c[i]]++;
^
user.cpp: In function ‘int main()’:
user.cpp:167:12: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
c[lg+1]=NULL;
^
user.cpp:189:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];///daca sirul nu e inversat la fr sirului neinversat mai adaugam sumele partiale pana la pozitia poz a literei obisnuite
^
user.cpp:189:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];///daca sirul nu e inversat la fr sirului neinversat mai adaugam sumele partiale pana la pozitia poz a literei obisnuite
^
user.cpp:190:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(g," %d\n",frsir[litera]);
^
user.cpp:190:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g," %d\n",frsir[litera]);
^
user.cpp:196:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frcaps[litera]+=suma[poz][litera];
^
user.cpp:196:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frcaps[litera]+=suma[poz][litera];
^
user.cpp:197:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(g," %d\n",frcaps[litera]);
^
user.cpp:197:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g," %d\n",frcaps[litera]);
^
user.cpp:159:15: warning: unused variable ‘ascii’ [-Wunused-variable]
int q,i,k,ascii;
^
user.cpp:160:19: warning: unused variable ‘p’ [-Wunused-variable]
long long poz,p;
^
user.cpp:161:10: warning: unused variable ‘ch’ [-Wunused-variable]
char ch,litera,literaop;
^
user.cpp:161:20: warning: unused variable ‘literaop’ [-Wunused-variable]
char ch,litera,literaop;
^
user.cpp: In function ‘long long int rez(long long int)’:
user.cpp:155:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:164:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 2900kb | Corect | 10 |
| 2 | 0ms | 2904kb | Corect | 5 |
| 3 | 0ms | 3096kb | Corect | 5 |
| 4 | 0ms | 3144kb | Corect | 5 |
| 5 | 48ms | 6172kb | Corect | 5 |
| 6 | 52ms | 8220kb | Corect | 5 |
| 7 | 60ms | 8224kb | Corect | 5 |
| 8 | 68ms | 10272kb | Corect | 5 |
| 9 | 4ms | 6172kb | Corect | 5 |
| 10 | 4ms | 6168kb | Corect | 5 |
| 11 | 8ms | 6172kb | Corect | 5 |
| 12 | 8ms | 6168kb | Corect | 5 |
| 13 | 100ms | 24612kb | Corect | 5 |
| 14 | 116ms | 38968kb | Corect | 5 |
| 15 | 48ms | Depăşit | Memory limit exceeded. | 0 |
| 16 | 48ms | Depăşit | Memory limit exceeded. | 0 |
| 17 | 48ms | Depăşit | Memory limit exceeded. | 0 |
| 18 | 48ms | Depăşit | Memory limit exceeded. | 0 |
| 19 | 48ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 75 |