Borderou de evaluare (job #3259431)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 26 noiembrie 2024 12:09:55
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
84ms2916kbOK!5
99ms7483kbOK!5
109ms7540kbOK!5
1118ms12808kbOK!5
1219ms12902kbOK!5
1338ms25550kbOK!5
1492ms63348kbOK!5
1570ms66908kbMemory limit exceeded0
1670ms66920kbMemory limit exceeded0
1771ms66744kbMemory limit exceeded0
1872ms66813kbMemory limit exceeded0
1972ms66768kbMemory limit exceeded0
2073ms66871kbMemory limit exceeded0
Punctaj total70

Ceva nu functioneaza?