Borderou de evaluare (job #3343302)

Utilizator TomMMMMatei Toma TomMMM Data 26 februarie 2026 20:18:02
Problema Plimbare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:68:1: error: 'queue' does not name a type 68 | queue<int> C_group; | ^~~~~ main.cpp: In function 'void put_in_c(int)': main.cpp:77:5: error: 'C_group' was not declared in this scope; did you mean 'group'? 77 | C_group.push(node); | ^~~~~~~ | group main.cpp: In function 'void select_in_c()': main.cpp:85:16: error: 'C_group' was not declared in this scope; did you mean 'group'? 85 | int node = C_group.front(), i; | ^~~~~~~ | group main.cpp:87:9: error: 'i' was not declared in this scope 87 | for(i = 1; i < len_cycle; i++) | ^ main.cpp:94:36: error: 'i' was not declared in this scope 94 | for(int j = len_cycle - 1; j > i; j--) cycle[j + 1] = cycle[j]; | ^ main.cpp:95:11: error: 'i' was not declared in this scope 95 | cycle[i + 1] = node; | ^ main.cpp: In function 'void get_cycle()': main.cpp:131:13: error: 'C_group' was not declared in this scope; did you mean 'group'? 131 | if(!C_group.empty()) select_in_c(); | ^~~~~~~ | group Non zero exit status: 1

Ceva nu functioneaza?