Borderou de evaluare (job #3003356)

Utilizator Edyci123Bicu Codrut Eduard Edyci123 Data 15 martie 2023 18:01:01
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:16:1: error: 'stack' does not name a type; did you mean 'obstack'? 16 | stack<int> s; | ^~~~~ | obstack main.cpp: In function 'void dfs(int)': main.cpp:25:5: error: 's' was not declared in this scope 25 | s.push(node); | ^ main.cpp: In function 'int main()': main.cpp:56:13: error: 's' was not declared in this scope 56 | while (!s.empty()) { | ^ Non zero exit status: 1

Ceva nu functioneaza?