Borderou de evaluare (job #2218512)

Utilizator Mihai_PredaPreda Mihai Dragos Mihai_Preda Data 4 iulie 2018 18:21:53
Problema Aranjare3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:1: error: ‘vector’ does not name a type vector<pair<int, int> > op; ^~~~~~ user.cpp: In function ‘void moveElem(int, int)’: user.cpp:16:5: error: ‘op’ was not declared in this scope op.push_back(make_pair(from, to)); ^~ user.cpp: In function ‘int main()’: user.cpp:62:12: error: ‘op’ was not declared in this scope out << op.size() << " " << 3 << "\n"; ^~ user.cpp:63:16: error: unable to deduce ‘auto&&’ from ‘op’ for(auto x:op) ^~

Ceva nu functioneaza?