Pagini recente » Borderou de evaluare (job #322841) | Borderou de evaluare (job #63379) | Borderou de evaluare (job #322879) | Borderou de evaluare (job #836278) | Borderou de evaluare (job #2976437)
Borderou de evaluare (job #2976437)
Raport evaluator
Compilare:
main.cpp: In constructor 'trie_node::trie_node()':
main.cpp:15:22: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null]
15 | memset(sons, NULL, sizeof(sons));
| ^~~~
In file included from /usr/include/c++/10/cstring:42,
from main.cpp:4:
/usr/include/string.h:61:37: note: declared here
61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
| ~~~~^~~
main.cpp: In function 'void trie_insert(trie_node*, const string&, int)':
main.cpp:21:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | if(pos >= s.size()){
| ~~~~^~~~~~~~~~~
main.cpp: In function 'void trie_erase(trie_node*, const string&, int)':
main.cpp:38:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | if(pos >= s.size()){
| ~~~~^~~~~~~~~~~
main.cpp: In function 'int get_frequency(trie_node*, const string&, int)':
main.cpp:48:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | if(pos >= s.size()){
| ~~~~^~~~~~~~~~~
main.cpp:54:16: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
54 | return NULL;
| ^~~~
main.cpp: In function 'int get_lcp(trie_node*, const string&, int)':
main.cpp:60:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | if(pos >= s.size()){
| ~~~~^~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 184kb | OK | 5 | 5 |
2 | 0ms | 184kb | Incorect | 0 | 0 |
3 | 0ms | 184kb | Incorect | 0 | 0 |
4 | 0ms | 184kb | Incorect | 0 | 0 |
5 | 0ms | 184kb | Incorect | 0 | 0 |
6 | 0ms | 184kb | Incorect | 0 | 0 |
7 | 0ms | 184kb | Incorect | 0 | 0 |
8 | 0ms | 184kb | Incorect | 0 | 0 |
9 | 0ms | 184kb | Incorect | 0 | 0 |
10 | 3ms | 1495kb | Incorect | 0 | 0 |
11 | 3ms | 393kb | Incorect | 0 | 0 |
12 | 14ms | 2854kb | Incorect | 0 | 0 |
13 | 19ms | 2437kb | Incorect | 0 | 0 |
14 | 13ms | 811kb | Incorect | 0 | 0 |
15 | 19ms | 815kb | Incorect | 0 | 0 |
16 | 58ms | 20303kb | Incorect | 0 |
17 | 17ms | 397kb | Incorect | 0 | 0 |
18 | 58ms | 15319kb | Incorect | 0 |
19 | 17ms | 417kb | Incorect | 0 | 0 |
20 | 74ms | 25903kb | Incorect | 0 |
Punctaj total | 5 |