Borderou de evaluare (job #3220911)
Raport evaluator
Compilare:
main.cpp: In function 'void add_to_trie(std::string, int, trie*)':
main.cpp:17:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | if (index==word.size()) return;
| ~~~~~^~~~~~~~~~~~~
main.cpp: In function 'void remove_from_trie(std::string, int, trie*)':
main.cpp:30:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | if (index==word.size()) return;
| ~~~~~^~~~~~~~~~~~~
main.cpp:35:51: warning: statement has no effect [-Wunused-value]
35 | if (tri->alfa[alp]!=nullptr) tri->alfa[alp];
| ~~~~~~~~~~~~~^
main.cpp: In function 'void longest_prefix(std::string, int&, trie*)':
main.cpp:43:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | if (index==word.size()) return;
| ~~~~~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 5 | 5 |
2 | 0ms | 303kb | OK | 5 | 5 |
3 | 0ms | 303kb | OK | 5 | 5 |
4 | 0ms | 303kb | OK | 5 | 5 |
5 | 0ms | 303kb | OK | 5 | 5 |
6 | 1ms | 303kb | OK | 5 | 5 |
7 | 1ms | 303kb | OK | 5 | 5 |
8 | 1ms | 303kb | OK | 5 | 5 |
9 | 3ms | 819kb | Incorect | 0 | 0 |
10 | 4ms | 1867kb | OK | 5 | 5 |
11 | 5ms | 557kb | OK | 5 | 5 |
12 | 9ms | 3440kb | Incorect | 0 | 0 |
13 | 9ms | 2916kb | Incorect | 0 | 0 |
14 | 9ms | 1081kb | OK | 5 | 5 |
15 | 9ms | 1081kb | OK | 5 | 0 |
16 | 34ms | 23052kb | Incorect | 0 |
17 | 14ms | 958kb | Incorect | 0 | 0 |
18 | 29ms | 17211kb | Incorect | 0 |
19 | 14ms | 1175kb | OK | 5 | 0 |
20 | 39ms | 28585kb | Incorect | 0 |
Punctaj total | 55 |