Borderou de evaluare (job #2866833)

Utilizator mateisebastian4Matei Sebastian mateisebastian4 Data 10 martie 2022 00:02:12
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:11:6: error: variable or field 'init' declared void 11 | void init(n) | ^~~~ main.cpp:11:11: error: 'n' was not declared in this scope; did you mean 'nr'? 11 | void init(n) | ^ | nr main.cpp: In function 'void cit()': main.cpp:21:1: error: 'pereche' was not declared in this scope 21 | pereche w; | ^~~~~~~ main.cpp:24:5: error: 'w' was not declared in this scope 24 | w.y=y; | ^ main.cpp:26:5: error: 'v' was not declared in this scope 26 | v[x].push_back(w); | ^ main.cpp:28:6: error: 'n' was not declared in this scope 28 | init(n+1); | ^ main.cpp:28:1: error: 'init' was not declared in this scope; did you mean 'int'? 28 | init(n+1); | ^~~~ | int main.cpp: In function 'void bfs()': main.cpp:55:5: error: 'dp' was not declared in this scope 55 | dp[1]=0; | ^~ main.cpp:78:5: error: a function-definition is not allowed here before '{' token 78 | { | ^ Non zero exit status: 1

Ceva nu functioneaza?