Borderou de evaluare (job #2236727)

Utilizator Andrei_CotorAndrei Cotor Andrei_Cotor Data 30 august 2018 13:30:50
Problema Bazaconii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:1: error: ‘vector’ does not name a type vector<pair<int,int> > A[10005]; ^~~~~~ user.cpp: In function ‘bool dfs(int)’: user.cpp:11:5: error: ‘vector’ was not declared in this scope vector<pair<int,int> >::iterator it; ^~~~~~ user.cpp:11:26: error: expected primary-expression before ‘>’ token vector<pair<int,int> >::iterator it; ^ user.cpp:11:38: error: missing template arguments before ‘it’ vector<pair<int,int> >::iterator it; ^~ user.cpp:13:9: error: ‘it’ was not declared in this scope for(it=A[nod].begin(); it!=A[nod].end(); it++) ^~ user.cpp:13:12: error: ‘A’ was not declared in this scope for(it=A[nod].begin(); it!=A[nod].end(); it++) ^ user.cpp: In function ‘int main()’: user.cpp:39:13: error: ‘A’ was not declared in this scope A[x].push_back({y,c}); ^ user.cpp:62:13: error: ‘A’ was not declared in this scope A[i].clear(); ^

Ceva nu functioneaza?