Borderou de evaluare (job #3132657)

Utilizator DevCrutCorolevschi Mihai DevCrut Data 23 mai 2023 13:41:50
Problema Arbori binari de cautare echilibrati Status done
Runda arhiva-test Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: In member function 'void Node<T>::addValue(int, T) [with T = int]', inlined from 'void Node<T>::merge(int) [with T = int]' at main.cpp:247:15: main.cpp:79:45: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 79 | this->values[i] = this->values[i - 1]; | ~~~~~~~~~~~~^ main.cpp: In member function 'void Node<T>::merge(int) [with T = int]': main.cpp:15:11: note: while referencing 'Node<int>::values' 15 | T values[3]; // Array of keys | ^~~~~~ In member function 'void Node<T>::addValue(int, T) [with T = int]', inlined from 'void Node<T>::merge(int) [with T = int]' at main.cpp:224:18: main.cpp:79:45: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 79 | this->values[i] = this->values[i - 1]; | ~~~~~~~~~~~~^ main.cpp: In member function 'void Node<T>::merge(int) [with T = int]': main.cpp:15:11: note: while referencing 'Node<int>::values' 15 | T values[3]; // Array of keys | ^~~~~~ In member function 'void Node<T>::addValue(int, T) [with T = int]', inlined from 'void Node<T>::merge(int) [with T = int]' at main.cpp:247:15, inlined from 'void Tree234<T>::_remove(T&, Node<T>*) [with T = int]' at main.cpp:484:26: main.cpp:79:45: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 79 | this->values[i] = this->values[i - 1]; | ~~~~~~~~~~~~^ main.cpp: In function 'void Tree234<T>::_remove(T&, Node<T>*) [with T = int]': main.cpp:15:11: note: while referencing 'Node<int>::values' 15 | T values[3]; // Array of keys | ^~~~~~ In member function 'void Node<T>::addValue(int, T) [with T = int]', inlined from 'void Node<T>::merge(int) [with T = int]' at main.cpp:247:15, inlined from 'void Tree234<T>::_remove(T&, Node<T>*) [with T = int]' at main.cpp:517:28: main.cpp:79:45: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 79 | this->values[i] = this->values[i - 1]; | ~~~~~~~~~~~~^ main.cpp: In function 'void Tree234<T>::_remove(T&, Node<T>*) [with T = int]': main.cpp:15:11: note: while referencing 'Node<int>::values' 15 | T values[3]; // Array of keys | ^~~~~~ In member function 'void Node<T>::addValue(int, T) [with T = int]', inlined from 'void Node<T>::merge(int) [with T = int]' at main.cpp:247:15, inlined from 'void Tree234<T>::_remove(T&, Node<T>*) [with T = int]' at main.cpp:513:28: main.cpp:79:45: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 79 | this->values[i] = this->values[i - 1]; | ~~~~~~~~~~~~^ main.cpp: In function 'void Tree234<T>::_remove(T&, Node<T>*) [with T = int]': main.cpp:15:11: note: while referencing 'Node<int>::values' 15 | T values[3]; // Array of keys | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK5
20ms303kbIncorect0
30ms303kbIncorect0
424ms2945kbIncorect0
523ms2883kbIncorect0
624ms2945kbIncorect0
70ms303kbIncorect0
80ms303kbIncorect0
90ms303kbIncorect0
100ms303kbIncorect0
1124ms2093kbIncorect0
1224ms2109kbIncorect0
1324ms2113kbIncorect0
1424ms2125kbIncorect0
15203ms29540kbTime limit exceeded0
16203ms29093kbTime limit exceeded0
17203ms34492kbTime limit exceeded0
18203ms28635kbTime limit exceeded0
19203ms25796kbTime limit exceeded0
20203ms29429kbTime limit exceeded0
Punctaj total5

Ceva nu functioneaza?