Borderou de evaluare (job #2836965)

Utilizator Theodor17Pirnog Theodor Ioan Theodor17 Data 21 ianuarie 2022 12:19:34
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:100:31: warning: array subscript has type 'char' [-Wchar-subscripts] 100 | poz_litere[a[j]] = litere.size() - 1; | ~~~^ main.cpp:102:31: warning: array subscript has type 'char' [-Wchar-subscripts] 102 | verificare[a[j]]++; | ~~~^ main.cpp:112:31: warning: array subscript has type 'char' [-Wchar-subscripts] 112 | poz_litere[b[j]] = litere.size() - 1; | ~~~^ main.cpp:114:31: warning: array subscript has type 'char' [-Wchar-subscripts] 114 | verificare[b[j]]++; | ~~~^ main.cpp:126:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 126 | for(int j = 0; j < litere.size(); j++) | ~~^~~~~~~~~~~~~~~ main.cpp:132:44: warning: array subscript has type 'char' [-Wchar-subscripts] 132 | t[j] = c[poz_litere[a[j]]] + 48; | ~~~^ main.cpp:144:44: warning: array subscript has type 'char' [-Wchar-subscripts] 144 | t[j] = c[poz_litere[b[j]]] + 48; | ~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
2103ms200kbTime limit exceeded0
32ms184kbOK10
4103ms200kbTime limit exceeded0
5103ms200kbTime limit exceeded0
6103ms200kbTime limit exceeded0
7103ms200kbTime limit exceeded0
82ms184kbIncorect0
92ms184kbIncorect0
1064ms200kbOK10
Punctaj total30

Ceva nu functioneaza?