Borderou de evaluare (job #2722341)

Utilizator mex7Alexandru Valentin mex7 Data 12 martie 2021 19:22:50
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
13ms131kbIncorect00
23ms131kbIncorect0
3703ms393kbTime limit exceeded00
4701ms262kbTime limit exceeded0
5701ms393kbTime limit exceeded00
6701ms524kbTime limit exceeded0
7701ms393kbTime limit exceeded0
8703ms1171kbTime limit exceeded00
9700ms1171kbTime limit exceeded0
10700ms917kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?