Pagini recente » Borderou de evaluare (job #2067695) | Borderou de evaluare (job #696322) | Borderou de evaluare (job #35424) | Borderou de evaluare (job #864731) | Borderou de evaluare (job #2449620)
Borderou de evaluare (job #2449620)
Raport evaluator
Compilare:
main.cpp: In constructor 'trie::trie()':
main.cpp:28:48: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null]
memset(this->neigh, NULL, sizeof(this->neigh));
^
main.cpp: In function 'void trieOp::insert(trie*&, std::__cxx11::string&, int)':
main.cpp:39:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ind == buff.size())
~~~~^~~~~~~~~~~~~~
main.cpp: In function 'void trieOp::remove(trie*&, std::__cxx11::string&, int)':
main.cpp:56:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ind == buff.size())
~~~~^~~~~~~~~~~~~~
main.cpp: In function 'int trieOp::get_freq(trie*&, std::__cxx11::string&, int)':
main.cpp:71:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (buff.size() == ind)
~~~~~~~~~~~~^~~~~~
main.cpp: In function 'int trieOp::get_longest_prefix(trie*&, std::__cxx11::string&, int)':
main.cpp:83:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (node->freq > 0 && ind < buff.size())
~~~~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Incorect | 0 | 0 |
2 | 2ms | 131kb | Incorect | 0 | 0 |
3 | 3ms | 131kb | Incorect | 0 | 0 |
4 | 3ms | 131kb | Incorect | 0 | 0 |
5 | 3ms | 131kb | Incorect | 0 | 0 |
6 | 4ms | 131kb | Incorect | 0 | 0 |
7 | 7ms | 262kb | Incorect | 0 | 0 |
8 | 8ms | 131kb | Incorect | 0 | 0 |
9 | 14ms | 524kb | Incorect | 0 | 0 |
10 | 21ms | 1441kb | Incorect | 0 | 0 |
11 | 24ms | 262kb | Incorect | 0 | 0 |
12 | 44ms | 2752kb | Incorect | 0 | 0 |
13 | 50ms | 2359kb | Incorect | 0 | 0 |
14 | 49ms | 655kb | Incorect | 0 | 0 |
15 | 58ms | 655kb | Incorect | 0 | 0 |
16 | 127ms | 19005kb | Incorect | 0 |
17 | 61ms | 262kb | Incorect | 0 | 0 |
18 | 135ms | 13893kb | Incorect | 0 |
19 | 54ms | 262kb | Incorect | 0 | 0 |
20 | 167ms | 25427kb | Incorect | 0 |
Punctaj total | 0 |