Borderou de evaluare (job #3204608)

Utilizator TomaBToma Brihacescu TomaB Data 17 februarie 2024 10:28:35
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(int)': main.cpp:16:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 16 | if (d[i] < min && use[i] == 0) | ^~ main.cpp:19:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 19 | use[nod]=1; | ^~~ main.cpp: At global scope: main.cpp:29:1: error: expected declaration before '}' token 29 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?