Borderou de evaluare (job #1732589)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 21 iulie 2016 23:19:09
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:256: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:34: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:262:14: note: ‘randomKey’ was declared here TYPE randomKey; pair <int, int> randomHash; ^ user.cpp:34: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:262:14: note: ‘randomKey’ was declared here TYPE randomKey; pair <int, int> randomHash; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms692kbOK5
2132ms2080kbOK5
3472ms5036kbOK5
41424ms8644kbOK5
51512ms9736kbOK5
61476ms10284kbOK5
71516ms10832kbOK5
81500ms10288kbOK5
92364ms19032kbOK5
101856ms15128kbOK5
112080ms17672kbOK5
121824ms15208kbOK5
132656ms21328kbOK5
142212ms18420kbOK5
152204ms19424kbOK5
163876ms30436kbOK5
174156ms31064kbOK5
184120ms30848kbOK5
194252ms31068kbOK5
204168ms31052kbOK5
Punctaj total100

Ceva nu functioneaza?