Borderou de evaluare (job #2446577)

Utilizator ContDeRacistAliniateEBlat ContDeRacist Data 9 august 2019 18:10:06
Problema Ghicit Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 75

Raport evaluator

Compilare: main.cpp: In function 'int SUFFIX_ARRAY::lcp(const string&, int)': main.cpp:101:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (ans = 0; ans < _s.size() && ans < n - poz; ++ans) { ~~~~^~~~~~~~~~~ main.cpp: In function 'bool SUFFIX_ARRAY::smaller(const string&, int)': main.cpp:109:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < _s.size() && i < n - poz; ++i) { ~~^~~~~~~~~~~ main.cpp:113:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return (_s.size() <= n - poz); ~~~~~~~~~~^~~~~~~~~~ main.cpp: In function 'int SUFFIX_ARRAY::query(int, int)': main.cpp:128:23: warning: division by zero [-Wdiv-by-zero] cout << 0 / 0; ~~^~~ main.cpp: In function 'int SUFFIX_ARRAY::ghiceste()': main.cpp:141:23: warning: division by zero [-Wdiv-by-zero] cout << 0 / 0; ~~^~~ main.cpp: In function 'int SUFFIX_ARRAY::query(int, int)': main.cpp:137:5: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
114ms655kbOK5
214ms1441kbOK5
314ms1441kbOK5
466ms5242kbOK5
581ms6815kbIncorect0
650ms6815kbOK5
760ms6815kbOK5
880ms6815kbIncorect0
960ms8257kbOK5
1074ms8257kbOK5
1186ms8257kbIncorect0
124ms655kbOK5
136ms655kbOK5
147ms655kbOK5
157ms655kbOK5
1619ms2097kbIncorect0
1719ms2097kbIncorect0
1812ms1310kbOK5
1914ms1441kbOK5
2014ms1441kbOK5
Punctaj total75

Ceva nu functioneaza?