Borderou de evaluare (job #2905983)
Utilizator | Data | 24 mai 2022 18:26:18 | |
---|---|---|---|
Problema | Sortare topologica | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:1: error: 'stack' does not name a type; did you mean 'obstack'?
7 | stack<int>stiva;
| ^~~~~
| obstack
main.cpp: In function 'void dfs(int)':
main.cpp:19:5: error: 'stiva' was not declared in this scope
19 | stiva.push(x);
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:39:13: error: 'stiva' was not declared in this scope
39 | while (!stiva.empty())
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !