Borderou de evaluare (job #2536911)

Utilizator Briana_NeaguNeagu Briana Briana_Neagu Data 2 februarie 2020 19:55:47
Problema Kthvalue Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:135:5: error: 'deque' does not name a type deque <Node*> rootsRight; ^~~~~ main.cpp:136:5: error: 'deque' does not name a type deque <Node*> rootsLeft; ^~~~~ main.cpp: In member function 'void PersistentTrie::addLast(int)': main.cpp:65:9: error: 'rootsRight' was not declared in this scope rootsRight.push_back(private_add(rootsRight[nrRight - 1], 20, val)); ^~~~~~~~~~ main.cpp: In member function 'void PersistentTrie::addFirst(int)': main.cpp:71:9: error: 'rootsLeft' was not declared in this scope rootsLeft.push_back(private_add(rootsLeft[nrLeft - 1], 20, val)); ^~~~~~~~~ main.cpp: In member function 'void PersistentTrie::removeLast()': main.cpp:79:13: error: 'rootsRight' was not declared in this scope rootsRight.pop_back(); ^~~~~~~~~~ main.cpp:84:13: error: 'rootsLeft' was not declared in this scope rootsLeft.pop_front(); ^~~~~~~~~ main.cpp: In member function 'void PersistentTrie::removeFirst()': main.cpp:93:13: error: 'rootsLeft' was not declared in this scope rootsLeft.pop_back(); ^~~~~~~~~ main.cpp:98:13: error: 'rootsRight' was not declared in this scope rootsRight.pop_front(); ^~~~~~~~~~ main.cpp: In member function 'int PersistentTrie::query(int, int, int)': main.cpp:110:38: error: 'rootsLeft' was not declared in this scope return getValFromOneSide(rootsLeft[j - 1], rootsLeft[i], 20, k); ^~~~~~~~~ main.cpp:116:38: error: 'rootsRight' was not declared in this scope return getValFromOneSide(rootsRight[i - 1], rootsRight[j], 20, k); ^~~~~~~~~~ main.cpp:122:40: error: 'rootsLeft' was not declared in this scope return getValFromBothSides(rootsLeft[removedLeft], rootsLeft[i], rootsRight[removedRight], rootsRight[j], 20, k); ^~~~~~~~~ main.cpp:122:78: error: 'rootsRight' was not declared in this scope return getValFromBothSides(rootsLeft[removedLeft], rootsLeft[i], rootsRight[removedRight], rootsRight[j], 20, k); ^~~~~~~~~~ main.cpp:105:13: warning: unused variable 'howManyRight' [-Wunused-variable] int howManyRight = nrRight - removedRight; ^~~~~~~~~~~~ main.cpp: In member function 'void PersistentTrie::initialise()': main.cpp:145:9: error: 'rootsLeft' was not declared in this scope rootsLeft.push_back(Nill); ^~~~~~~~~ main.cpp:146:9: error: 'rootsRight' was not declared in this scope rootsRight.push_back(Nill); Non zero exit status: 1

Ceva nu functioneaza?