Borderou de evaluare (job #2804621)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 21 noiembrie 2021 11:55:15
Problema Granițe Status done
Runda Baraj - Tudor Vianu + ICHB - Seniori - 2021 Compilator cpp-64 | Vezi sursa
Scor 35

Raport evaluator

Compilare: main.cpp: In function 'void kmp(std::string&)': main.cpp:16:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 16 | for (int i = 2 ; i < sir.size() ; ++ i) { | ~~^~~~~~~~~~~~ main.cpp:25:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 25 | if (i >= 2 * finish - 1 && i <= sir.size() - finish - 1) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int caut(std::vector<int>, int)': main.cpp:35:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 35 | if (step + ret < pos.size() && pos[step + ret] < val) { | ~~~~~~~~~~~^~~~~~~~~~~~ main.cpp: In function 'bool find(std::vector<int>, int, int)': main.cpp:45:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 45 | if (last_less_than_left < pos.size()) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
127ms27574kbOK55
228ms27574kbOK55
327ms27574kbOK50
429ms27574kbOK5
527ms27578kbIncorect0
627ms27582kbOK5
728ms27578kbOK5
841ms30613kbOK525
946ms30662kbOK5
1046ms33198kbOK5
1147ms30588kbOK5
1246ms33087kbOK5
1341ms30752kbIncorect00
1441ms32878kbOK5
1545ms30830kbOK5
1641ms32919kbOK5
1746ms33357kbOK5
1845ms33116kbOK5
1952ms30789kbOK5
2045ms33390kbIncorect0
Punctaj total35

Ceva nu functioneaza?