Borderou de evaluare (job #2235961)

Utilizator Lazar_LaurentiuLazar Laurentiu Lazar_Laurentiu Data 27 august 2018 14:54:58
Problema Magnet Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:14:1: error: ‘vector’ does not name a type vector< pair<int,int> > ans1,ans2; ^~~~~~ user.cpp: In function ‘int main()’: user.cpp:39:7: error: ‘ans1’ was not declared in this scope ans1.clear(); ans2.clear(); t1=t2=0; ^~~~ user.cpp:39:21: error: ‘ans2’ was not declared in this scope ans1.clear(); ans2.clear(); t1=t2=0; ^~~~ user.cpp:104:20: error: unable to deduce ‘auto&&’ from ‘ans1’ for(auto i:ans1)g<<i.x<<" "<<i.y<<'\n'; ^~~~ user.cpp:107:20: error: unable to deduce ‘auto&&’ from ‘ans2’ for(auto i:ans2)g<<i.x<<" "<<i.y<<'\n'; ^~~~

Ceva nu functioneaza?