Borderou de evaluare (job #3363300)

Utilizator prodsevenStefan Albu prodseven Data 16 august 2026 11:27:08
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:15:1: error: 'stack' does not name a type; did you mean 'obstack'? 15 | stack<pair<int, int>> component_edges; | ^~~~~ | obstack main.cpp: In function 'void handle_found_articulation_point(int, int)': main.cpp:23:18: error: 'component_edges' was not declared in this scope 23 | top_n1 = component_edges.top().first; | ^~~~~~~~~~~~~~~ main.cpp: In function 'void dfs(int, int)': main.cpp:37:13: error: 'component_edges' was not declared in this scope 37 | component_edges.push({node, neighbor}); | ^~~~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?