Borderou de evaluare (job #3299556)
Raport evaluator
Compilare:
main.cpp: In member function 'void AhoCorasickAutomaton::addWordTrie(Vertex*, std::string, int)':
main.cpp:59:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for(int i=0; i<s.length(); i++){
| ~^~~~~~~~~~~
main.cpp:60:18: warning: unused variable 'parent' [-Wunused-variable]
60 | auto parent = node;
| ^~~~~~
main.cpp: In member function 'void AhoCorasickAutomaton::searchText(std::string&, int*)':
main.cpp:154:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
154 | for(int i=0; i<text.length(); i++){
| ~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 5 |
2 | 0ms | 303kb | OK | 5 |
3 | 0ms | 303kb | OK | 5 |
4 | 0ms | 303kb | OK | 5 |
5 | 0ms | 303kb | OK | 5 |
6 | 3ms | 1220kb | OK | 5 |
7 | 4ms | 1482kb | OK | 5 |
8 | 6ms | 2007kb | Incorect | 0 |
9 | 4ms | 2318kb | Incorect | 0 |
10 | 6ms | 1744kb | OK | 5 |
11 | 7ms | 1605kb | OK | 5 |
12 | 6ms | 2002kb | OK | 5 |
13 | 2ms | 958kb | Incorect | 0 |
14 | 2ms | 1486kb | OK | 5 |
15 | 3ms | 1478kb | Incorect | 0 |
16 | 3ms | 1703kb | Incorect | 0 |
17 | 3ms | 1482kb | Incorect | 0 |
18 | 3ms | 1482kb | Incorect | 0 |
19 | 5ms | 2265kb | Incorect | 0 |
20 | 19ms | 5234kb | OK | 5 |
Punctaj total | 60 |