Borderou de evaluare (job #2711812)

Utilizator dorufDoru Floare doruf Data 24 februarie 2021 18:47:28
Problema Mesaje Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:37:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < min(v[i].size(), v[0].size()); ++j) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:47:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < pos.size(); ++j) { ~~^~~~~~~~~~~~ main.cpp:48:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (j < min(v[0].size(), v[i].size()) && v[idx][pos[j]] == v[i][pos[j]]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:52:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < powers.size(); ++i) ~~^~~~~~~~~~~~~~~ main.cpp:67:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (i < n && isalpha(str[i])) ^~~~~ main.cpp:69:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' reverse(curr.begin(), curr.end()); ^~~~~~~ main.cpp:46:16: warning: 'idx' may be used uninitialized in this function [-Wmaybe-uninitialized] for (int i = idx; i >= 0; --i) { ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1101ms6160kbTime limit exceeded0
23ms131kbCorect10
33ms131kbCorect10
45ms262kbCorect10
53ms131kbCorect10
63ms131kbCorect10
720ms262kbCorect10
8101ms2752kbTime limit exceeded0
938ms393kbCorect10
1070ms524kbCorect10
Punctaj total80

Ceva nu functioneaza?