Borderou de evaluare (job #1732590)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 21 iulie 2016 23:30:44
Problema Secv8 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In member function ‘void nrxPositionTreap<TYPE>::splitTreap(nrxPositionTreap<TYPE>::treapNode*&, int, nrxPositionTreap<TYPE>::treapNode*&, nrxPositionTreap<TYPE>::treapNode*&) [with TYPE = int]’: user.cpp:698:9: warning: ‘randomKey’ is used uninitialized in this function [-Wuninitialized] insertKey( myTreap, position + 1, randomKey, INT_MAX ); ^ user.cpp: In function ‘int main(int, const char**)’: user.cpp:476:13: warning: ‘randomKey’ may be used uninitialized in this function [-Wmaybe-uninitialized] this -> key = key; this -> nodeSize = nodeSize; this -> priority = priority; this -> nodeHash = nodeHash; ^ user.cpp:704:14: note: ‘randomKey’ was declared here TYPE randomKey; pair <int, int> randomHash; ^ user.cpp:476:13: warning: ‘randomKey’ may be used uninitialized in this function [-Wmaybe-uninitialized] this -> key = key; this -> nodeSize = nodeSize; this -> priority = priority; this -> nodeHash = nodeHash; ^ user.cpp:704:14: note: ‘randomKey’ was declared here TYPE randomKey; pair <int, int> randomHash; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms2636kbOK5
2140ms3956kbOK5
3484ms6860kbOK5
41420ms10556kbOK5
51552ms11612kbOK5
61536ms12140kbOK5
71512ms12668kbOK5
81468ms12140kbOK5
92384ms20852kbOK5
101812ms16892kbOK5
112116ms19532kbOK5
121844ms17156kbOK5
132716ms23228kbOK5
142292ms20324kbOK5
152248ms21116kbOK5
163908ms32204kbOK5
174164ms32996kbOK5
184180ms32732kbOK5
194248ms32996kbOK5
204188ms32996kbOK5
Punctaj total100

Ceva nu functioneaza?