Borderou de evaluare (job #2701498)

Utilizator Mihai180315Mihai Smarandache Mihai180315 Data 31 ianuarie 2021 15:34:02
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void dijkstra()': main.cpp:82:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < g[x].size(); ++i) { ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:101:5: error: expected ',' or ';' before 'int' int n, m, x, y, z; ^~~ main.cpp:102:12: error: 'n' was not declared in this scope fin >> n >> m; ^ main.cpp:102:17: error: 'm' was not declared in this scope fin >> n >> m; ^ main.cpp:104:16: error: 'x' was not declared in this scope fin >> x >> y >> z; ^ main.cpp:104:21: error: 'y' was not declared in this scope fin >> x >> y >> z; ^ main.cpp:104:26: error: 'z' was not declared in this scope fin >> x >> y >> z; ^ Non zero exit status: 1

Ceva nu functioneaza?