Borderou de evaluare (job #2909060)

Utilizator bem.andreiIceman bem.andrei Data 8 iunie 2022 15:36:37
Problema Lru Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:49:27: warning: array subscript has type 'char' [-Wchar-subscripts] 49 | while(poz[v1[i]]!=0 && (elim[poz[v1[i]]]!=0 || v[poz[v1[i]]]!=v1[i])) | ~~~~^ main.cpp:49:50: warning: array subscript has type 'char' [-Wchar-subscripts] 49 | while(poz[v1[i]]!=0 && (elim[poz[v1[i]]]!=0 || v[poz[v1[i]]]!=v1[i])) | ~~~~^ main.cpp:49:70: warning: array subscript has type 'char' [-Wchar-subscripts] 49 | while(poz[v1[i]]!=0 && (elim[poz[v1[i]]]!=0 || v[poz[v1[i]]]!=v1[i])) | ~~~~^ main.cpp:51:23: warning: array subscript has type 'char' [-Wchar-subscripts] 51 | s[v1[i]]+=elim[poz[v1[i]]]; | ~~~~^ main.cpp:51:40: warning: array subscript has type 'char' [-Wchar-subscripts] 51 | s[v1[i]]+=elim[poz[v1[i]]]; | ~~~~^ main.cpp:52:25: warning: array subscript has type 'char' [-Wchar-subscripts] 52 | poz[v1[i]]--; | ~~~~^ main.cpp:54:24: warning: array subscript has type 'char' [-Wchar-subscripts] 54 | if(poz[v1[i]]) | ~~~~^ main.cpp:56:32: warning: array subscript has type 'char' [-Wchar-subscripts] 56 | sol+=n-poz[v1[i]]-s[v1[i]]; | ~~~~^ main.cpp:56:41: warning: array subscript has type 'char' [-Wchar-subscripts] 56 | sol+=n-poz[v1[i]]-s[v1[i]]; | ~~~~^ main.cpp:57:30: warning: array subscript has type 'char' [-Wchar-subscripts] 57 | elim[poz[v1[i]]]=1; | ~~~~^ main.cpp:59:42: warning: array subscript has type 'char' [-Wchar-subscripts] 59 | s[j]+=poz[j]<poz[v1[i]]; | ~~~~^ main.cpp: In function 'int norm(char)': main.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type] 19 | } | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbIncorect0
210ms2404kbIncorect0
341ms2535kbIncorect0
474ms2674kbIncorect0
555ms2629kbIncorect0
6107ms2695kbIncorect0
7309ms3768kbIncorect0
8278ms4022kbIncorect0
9307ms4210kbIncorect0
101ms184kbIncorect0
Punctaj total0

Ceva nu functioneaza?