Borderou de evaluare (job #2722340)

Utilizator mex7Alexandru Valentin mex7 Data 12 martie 2021 19:22:20
Problema Balbaiala Status done
Runda simulare.well1112 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:34:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < s.size(); i++) ~~^~~~~~~~~~ main.cpp:35:17: warning: array subscript has type 'char' [-Wchar-subscripts] pos[s[i]].push_back(i); ^ main.cpp:46:26: warning: array subscript has type 'char' [-Wchar-subscripts] if (pos[c].empty()) { ^ main.cpp:51:50: warning: array subscript has type 'char' [-Wchar-subscripts] int firstPos = binarySearch(pos[c], prevPos); ^ main.cpp:52:28: warning: array subscript has type 'char' [-Wchar-subscripts] if (s[pos[c][firstPos]] == c && pos[c][firstPos] >= prevPos && firstPos + k - 1 < pos[c].size()) ^ main.cpp:52:54: warning: array subscript has type 'char' [-Wchar-subscripts] if (s[pos[c][firstPos]] == c && pos[c][firstPos] >= prevPos && firstPos + k - 1 < pos[c].size()) ^ main.cpp:52:104: warning: array subscript has type 'char' [-Wchar-subscripts] if (s[pos[c][firstPos]] == c && pos[c][firstPos] >= prevPos && firstPos + k - 1 < pos[c].size()) ^ main.cpp:52:97: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (s[pos[c][firstPos]] == c && pos[c][firstPos] >= prevPos && firstPos + k - 1 < pos[c].size()) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ main.cpp:53:36: warning: array subscript has type 'char' [-Wchar-subscripts] prevPos = pos[c][firstPos + k - 1]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbIncorect00
22ms131kbIncorect0
32ms131kbIncorect00
43ms131kbIncorect0
53ms131kbIncorect00
62ms131kbIncorect0
72ms131kbIncorect0
82ms131kbIncorect00
93ms131kbIncorect0
102ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?