Borderou de evaluare (job #954684)
Utilizator | Data | 29 mai 2013 20:51:13 | |
---|---|---|---|
Problema | Arbore3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:21: error: array bound is not an integer constant before ‘]’ token
vector <int> G[MAX_N], V(MAX_N), H[U+2];
^
user.cpp:10:39: error: array bound is not an integer constant before ‘]’ token
vector <int> G[MAX_N], V(MAX_N), H[U+2];
^
user.cpp: In function ‘void Insert(int)’:
user.cpp:14:5: error: ‘H’ was not declared in this scope
H[x%U].push_back(x);
^
user.cpp: In function ‘void Erase(int)’:
user.cpp:19:18: error: ‘H’ was not declared in this scope
for(ite it = H[y].begin(); it != H[y].end(); ++ it)
^
user.cpp: In function ‘unsigned int Search(int)’:
user.cpp:30:18: error: ‘H’ was not declared in this scope
for(ite it = H[y].begin(); it != H[y].end(); ++ it)
^
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:39:12: error: ‘C’ was not declared in this scope
Insert(C);
^
user.cpp:40:18: error: ‘G’ was not declared in this scope
for(ite it = G[nod].begin(); it!= G[nod].end(); ++ it)
^
user.cpp: In function ‘int main()’:
user.cpp:53:9: error: ‘G’ was not declared in this scope
G[nod].push_back(i);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !