Borderou de evaluare (job #3326263)

Utilizator Mihai_OctMihai Octavian Mihai_Oct Data 27 noiembrie 2025 21:56:01
Problema Traseu Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool Dijkastra()': main.cpp:39:47: error: 'pot' was not declared in this scope; did you mean 'pow'? 39 | int costUrm = urm.c + cost[nod] - pot[urm.y] + pot[nod]; | ^~~ | pow main.cpp:53:39: error: 'pot' was not declared in this scope; did you mean 'pow'? 53 | for(int i = surs; i <= dest; i++) pot[i] += cost[i] - pot[surs]; | ^~~ | pow Non zero exit status: 1

Ceva nu functioneaza?