Borderou de evaluare (job #3188664)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 3 ianuarie 2024 17:14:00
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void A(int)': main.cpp:20:53: error: expected ';' before 'e' 20 | if(!u[s.top().first] | ^ | ; 21 | e[c].push_back(s.top().first); | ~ main.cpp:22:44: error: expected ')' before ';' token 22 | s.pop(),++c; | ^ | ) main.cpp:20:35: note: to match this '(' 20 | if(!u[s.top().first] | ^ main.cpp: In function 'int main()': main.cpp:32:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 32 | for(s.push({1,-1}),A(1),G<<c<<'\n',i=0;i<c;G<<'\n',++i) | ^~~ main.cpp:34:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 34 | return 0; | ^~~~~~ Non zero exit status: 1

Ceva nu functioneaza?