Borderou de evaluare (job #2675232)

Utilizator AntoniuFicAntoniu Ficard AntoniuFic Data 21 noiembrie 2020 11:31:23
Problema Potrivire Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:60:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < splits.size(); ++i) { ~~^~~~~~~~~~~~~~~ main.cpp:68:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = splits[i].length(); j < a.length(); ++j) { ~~^~~~~~~~~~~~ main.cpp:77:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < splits.size() && !noSol; ++i) { ~~^~~~~~~~~~~~~~~ main.cpp:80:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < splitMatches[i].size() && !noSol; ++j) { ~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:36:40: warning: 'h1a.rollingHash::maxpower' may be used uninitialized in this function [-Wmaybe-uninitialized] this->val = ((this->val - (out * this->maxpower) % this->n + this->n) * this->key + in) % this->n; ~~~~~^~~~~~~~~~~~~~~~~ main.cpp:57:17: note: 'h1a.rollingHash::maxpower' was declared here rollingHash h1a, h2a; ^~~ main.cpp:36:40: warning: 'h2a.rollingHash::maxpower' may be used uninitialized in this function [-Wmaybe-uninitialized] this->val = ((this->val - (out * this->maxpower) % this->n + this->n) * this->key + in) % this->n; ~~~~~^~~~~~~~~~~~~~~~~ main.cpp:57:22: note: 'h2a.rollingHash::maxpower' was declared here rollingHash h1a, h2a; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
23ms131kbOK1010
33ms131kbOK1010
43ms131kbIncorect00
510ms131kbOK100
611ms131kbOK10
711ms131kbOK10
814ms131kbIncorect0
94ms262kbIncorect0
1016ms131kbOK10
Punctaj total30

Ceva nu functioneaza?