Borderou de evaluare (job #2906081)

Utilizator Cris.CristinaPopescu Cristina Cris.Cristina Data 24 mai 2022 22:27:02
Problema Arbori binari de cautare echilibrati Status done
Runda arhiva-test Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In member function 'void SkipList::CautareNod(int)': main.cpp:136:9: error: 'g' was not declared in this scope 136 | g<<1<<endl; | ^ main.cpp:138:9: error: 'g' was not declared in this scope 138 | g<<0<<endl; | ^ main.cpp: In member function 'void SkipList::Cautareminmax(int, int)': main.cpp:152:13: error: 'g' was not declared in this scope 152 | g<<current->forward[0]->key<<endl; | ^ main.cpp:154:13: error: 'g' was not declared in this scope 154 | g<<current->key<<endl; | ^ main.cpp:157:9: error: 'g' was not declared in this scope 157 | g<<current->forward[0]->key<<endl; | ^ main.cpp: In member function 'void SkipList::intreXsiY(int, int)': main.cpp:169:9: error: 'g' was not declared in this scope 169 | g<<current->key<<" "; | ^ main.cpp:173:9: error: 'g' was not declared in this scope 173 | g<<current->key; | ^ main.cpp:174:5: error: 'g' was not declared in this scope 174 | g<<endl; | ^ Non zero exit status: 1

Ceva nu functioneaza?