Borderou de evaluare (job #2588964)

Utilizator AlexBosneag26Bosneag Alexandru AlexBosneag26 Data 25 martie 2020 16:55:57
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int hashf(std::__cxx11::string)': main.cpp:28:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < str.length(); i++) ~~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:96:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = lmax; i < text.length(); i++) ~~^~~~~~~~~~~~~~~ main.cpp:94:9: warning: unused variable 'st' [-Wunused-variable] int st = lmax; ^~ main.cpp:90:23: warning: 'lmax' may be used uninitialized in this function [-Wmaybe-uninitialized] str1 = text.substr(0, lmax); ~~~~~~~~~~~^~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK100
22ms131kbOK10
33ms262kbOK10
45ms524kbOK10
528ms3272kbOK10
686ms4321kbOK10
7463ms11005kbIncorect0
8807ms17035kbOK10
9689ms17035kbIncorect0
10571ms17035kbIncorect0
Punctaj total0

Ceva nu functioneaza?