Borderou de evaluare (job #3321560)

Utilizator danciuvalentinDanciu Valentin-Nicolae danciuvalentin Data 10 noiembrie 2025 09:10:10
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 'int main()': main.cpp:14:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 14 | for(int i=0;i<m;i++){ | ~^~ main.cpp:24:10: error: 'st' was not declared in this scope; did you mean 'std'? 24 | dist[st] = 0; | ^~ | std main.cpp:28:14: warning: comparison of integer expressions of different signedness: 'std::tuple_element<0, std::pair<int, int> >::type' {aka 'int'} and '__gnu_cxx::__alloc_traits<std::allocator<long long unsigned int>, long long unsigned int>::value_type' {aka 'long long unsigned int'} [-Wsign-compare] 28 | if(d > dist[node]) continue; Non zero exit status: 1

Ceva nu functioneaza?