Borderou de evaluare (job #3259422)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 26 noiembrie 2024 12:05:46
Problema Coduri Huffman Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: In file included from /usr/include/c++/12.2.1/deque:64, from main.cpp:4: In copy constructor 'std::_Deque_iterator<_Tp, _Ref, _Ptr>::_Deque_iterator(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&) [with _Tp = Node*; _Ref = Node*&; _Ptr = Node**]', inlined from 'std::deque<_Tp, _Alloc>::iterator std::deque<_Tp, _Alloc>::begin() [with _Tp = Node*; _Alloc = std::allocator<Node*>]' at /usr/include/c++/12.2.1/bits/stl_deque.h:1152:30, inlined from 'std::deque<_Tp, _Alloc>::reference std::deque<_Tp, _Alloc>::front() [with _Tp = Node*; _Alloc = std::allocator<Node*>]' at /usr/include/c++/12.2.1/bits/stl_deque.h:1447:9, inlined from 'Node* HuffmanCoder::dequeue_min_weight_node()' at main.cpp:73:49, inlined from 'void HuffmanCoder::build_prefix_code_tree()' at main.cpp:82:56: /usr/include/c++/12.2.1/bits/stl_deque.h:169:21: warning: 'deque_ptr' may be used uninitialized [-Wmaybe-uninitialized] 169 | : _M_cur(__x._M_cur), _M_first(__x._M_first), | ~~~~^~~~~~ main.cpp: In member function 'void HuffmanCoder::build_prefix_code_tree()': main.cpp:61:28: note: 'deque_ptr' was declared here 61 | std::deque<Node*>* deque_ptr; | ^~~~~~~~~ In member function 'void std::deque<_Tp, _Alloc>::pop_front() [with _Tp = Node*; _Alloc = std::allocator<Node*>]', inlined from 'Node* HuffmanCoder::dequeue_min_weight_node()' at main.cpp:74:29, inlined from 'void HuffmanCoder::build_prefix_code_tree()' at main.cpp:81:55: /usr/include/c++/12.2.1/bits/stl_deque.h:1578:39: warning: 'deque_ptr' may be used uninitialized [-Wmaybe-uninitialized] 1578 | != this->_M_impl._M_start._M_last - 1) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ main.cpp: In member function 'void HuffmanCoder::build_prefix_code_tree()': main.cpp:61:28: note: 'deque_ptr' was declared here 61 | std::deque<Node*>* deque_ptr; | ^~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!5
20ms303kbOK!5
30ms303kbOK!5
40ms303kbOK!5
51ms819kbOK!5
61ms819kbOK!5
74ms2916kbOK!5
84ms2654kbOK!5
99ms7634kbOK!5
109ms7634kbOK!5
1119ms12824kbOK!5
1214ms12206kbOK!5
1338ms25522kbOK!5
1493ms63401kbOK!5
1571ms66842kbMemory limit exceeded0
1671ms66883kbMemory limit exceeded0
1771ms66740kbMemory limit exceeded0
1871ms66760kbMemory limit exceeded0
1973ms66797kbMemory limit exceeded0
2072ms66891kbMemory limit exceeded0
Punctaj total70

Ceva nu functioneaza?