Borderou de evaluare (job #1738971)
Utilizator | Data | 8 august 2016 12:20:40 | |
---|---|---|---|
Problema | Sortare topologica | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:13:1: error: ‘stack’ does not name a type
stack <unsigned short int> nodes;
^
user.cpp: In function ‘int main()’:
user.cpp:29:18: error: ‘n’ was not declared in this scope
for (i=1; i<=n; i++)
^
user.cpp:33:13: error: ‘nodes’ was not declared in this scope
while (!nodes.empty())
^
user.cpp: In function ‘void DFSsort(short unsigned int)’:
user.cpp:49:5: error: ‘nodes’ was not declared in this scope
nodes.push(node);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !