Borderou de evaluare (job #3264982)

Utilizator AndreiNicolaescuEric Paturan AndreiNicolaescu Data 26 decembrie 2024 11:17:28
Problema Drumuri minime Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void djikstra()': main.cpp:32:45: error: request for member 'second' in 'next', which is of non-class type 'std::tuple_element<0, std::pair<int, double> >::type' {aka 'int'} 32 | else if(fabs(d[node] + next.second - d[next.first]) < EPS) | ^~~~~~ main.cpp:32:61: error: request for member 'first' in 'next', which is of non-class type 'std::tuple_element<0, std::pair<int, double> >::type' {aka 'int'} 32 | else if(fabs(d[node] + next.second - d[next.first]) < EPS) | ^~~~~ Non zero exit status: 1

Ceva nu functioneaza?