Borderou de evaluare (job #768668)
Utilizator | Data | 17 iulie 2012 16:21:17 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void adaugare(nod&, int)’:
user.cpp:21: error: no match for ‘operator=’ in ‘q = (nod*)operator new(8u)’
user.cpp:11: note: candidates are: nod& nod::operator=(const nod&)
user.cpp:22: error: base operand of ‘->’ has non-pointer type ‘nod’
user.cpp:23: error: base operand of ‘->’ has non-pointer type ‘nod’
user.cpp: In function ‘void citire()’:
user.cpp:31: error: ‘q’ was not declared in this scope
user.cpp:35: error: ‘x’ was not declared in this scope
user.cpp:35: error: ‘y’ was not declared in this scope
user.cpp: In function ‘void DFS(int)’:
user.cpp:44: error: expected primary-expression before ‘]’ token
user.cpp:45: error: expected primary-expression before ‘]’ token
user.cpp:45: error: no match for ‘operator!=’ in ‘q != 0’
user.cpp:45: error: base operand of ‘->’ has non-pointer type ‘nod’
user.cpp:46: error: ‘p’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !