Borderou de evaluare (job #1400126)
Utilizator | Data | 25 martie 2015 09:15:33 | |
---|---|---|---|
Problema | Egal | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:48:1: error: ‘unordered_map’ does not name a type
unordered_map<int,int> A[N];
^
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:64:5: error: ‘A’ was not declared in this scope
A[x]=A[be];
^
user.cpp:65:8: error: ‘A’ was not declared in this scope
if(A[x].find(a[x])==A[x].end())
^
user.cpp:69:15: error: ‘A’ was not declared in this scope
sol[x].se=A[x][a[x]];
^
user.cpp:75:13: error: ‘unordered_map’ was not declared in this scope
for(unordered_map<int,int >::iterator it2=A[*it].begin();it2!=A[*it].end();++it2)
^
user.cpp:75:27: error: expected primary-expression before ‘int’
for(unordered_map<int,int >::iterator it2=A[*it].begin();it2!=A[*it].end();++it2)
^
user.cpp:75:27: error: expected ‘;’ before ‘int’
user.cpp:75:66: error: ‘it2’ was not declared in this scope
for(unordered_map<int,int >::iterator it2=A[*it].begin();it2!=A[*it].end();++it2)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !