Pagini recente » Borderou de evaluare (job #1481208) | Monitorul de evaluare | Monitorul de evaluare | Borderou de evaluare (job #475996) | Borderou de evaluare (job #1910657)
Borderou de evaluare (job #1910657)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:60:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
vf[str[pos[i]]]++;
^
user.cpp:66:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(vf[str[i]]==0){
^
user.cpp:68:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
newpos[str[m]].push_back(m);
^
user.cpp:69:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ind[m]=newpos[str[m]].size()-1;
^
user.cpp:72:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
vf[str[i]]--;
^
user.cpp:75:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(cif>str[i]&&(poz[cif]>=newpos[cif].size()||(poz[cif]<newpos[cif].size()&&newpos[cif][poz[cif]]-i>x)))
^
user.cpp:75:84: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(cif>str[i]&&(poz[cif]>=newpos[cif].size()||(poz[cif]<newpos[cif].size()&&newpos[cif][poz[cif]]-i>x)))
^
user.cpp:80:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
newpos[str[j-1]][ind[j-1]]++;
^
user.cpp:81:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
newpos[str[j]][ind[j]]--;
^
user.cpp:39:23: warning: unused variable ‘l’ [-Wunused-variable]
int i,x,n,rez,pas,l,m,p,cif,j,aux;
^
user.cpp:43:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&n,&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 4324kb | Incorect | 0 |
| 2 | 8ms | 4340kb | Incorect | 0 |
| 3 | 8ms | 4324kb | Incorect | 0 |
| 4 | 8ms | 4328kb | Incorect | 0 |
| 5 | 20ms | 4400kb | Incorect | 0 |
| 6 | 12ms | 4356kb | OK | 5 |
| 7 | 420ms | 5144kb | Incorect | 0 |
| 8 | Depăşit | 5228kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 5292kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 5356kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 5684kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 6020kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 7616kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 9140kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 10676kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 12396kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 10160kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 10160kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 10304kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 10300kb | Time limit exceeded. | 0 |
| Punctaj total | 5 |