Pagini recente » Borderou de evaluare (job #54181) | Borderou de evaluare (job #274356) | Borderou de evaluare (job #61790) | Borderou de evaluare (job #2140256) | Borderou de evaluare (job #2804574)
Borderou de evaluare (job #2804574)
Raport evaluator
Compilare:
main.cpp: In function 'void kmp(std::string&)':
main.cpp:15:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for (int i = 2 ; i < sir.size() ; ++ i) {
| ~~^~~~~~~~~~~~
main.cpp: In function 'int caut(std::vector<int>, int)':
main.cpp:31:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | if (step + ret < pos.size() && pos[step + ret] < val) {
| ~~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'bool find(std::vector<int>, int, int)':
main.cpp:41:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | if (last_less_than_left < pos.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:54:9: warning: unused variable 'finish' [-Wunused-variable]
54 | int finish = lps[len - 1] ;
| ^~~~~~
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| ✓ | 1 | 28ms | 25821kb | Incorect | 0 | 0 |
| ✓ | 2 | 27ms | 25821kb | Incorect | 0 | 0 |
| ✓ | 3 | 28ms | 25821kb | Incorect | 0 | 0 |
| ✓ | 4 | 27ms | 25821kb | Incorect | 0 |
| ✓ | 5 | 25ms | 25833kb | Incorect | 0 |
| ✓ | 6 | 28ms | 25833kb | Incorect | 0 |
| ✓ | 7 | 28ms | 25821kb | OK | 5 |
| ✓ | 8 | 42ms | 28712kb | Incorect | 0 | 0 |
| ✓ | 9 | 47ms | 28889kb | Incorect | 0 |
| ✓ | 10 | 43ms | 29138kb | Incorect | 0 |
| ✓ | 11 | 42ms | 28819kb | Incorect | 0 |
| ✓ | 12 | 43ms | 28962kb | Incorect | 0 |
| ✓ | 13 | 37ms | 28983kb | Incorect | 0 | 0 |
| ✓ | 14 | 36ms | 28676kb | Incorect | 0 |
| ✓ | 15 | 42ms | 28872kb | Incorect | 0 |
| ✓ | 16 | 37ms | 28663kb | Incorect | 0 |
| ✓ | 17 | 41ms | 29446kb | Incorect | 0 |
| ✓ | 18 | 42ms | 28909kb | Incorect | 0 |
| ✓ | 19 | 50ms | 29257kb | OK | 5 |
| ✓ | 20 | 40ms | 29450kb | Incorect | 0 |
| Punctaj total | 0 |