Borderou de evaluare (job #2942318)

Utilizator preda.andreiPreda Andrei preda.andrei Data 19 noiembrie 2022 15:56:46
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'std::pair<int, std::vector<std::pair<int, int> > > FindMst(int, std::vector<std::tuple<int, int, int> >&)': main.cpp:43:22: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 43 | for (const auto& [a, b, cost] : edges) { | ^ main.cpp: In function 'int main()': main.cpp:60:16: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 60 | for (auto& [a, b, cost] : graph) { | ^ main.cpp:66:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 66 | auto [cost, mst] = FindMst(nodes, graph); | ^ main.cpp:69:22: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 69 | for (const auto& [a, b] : mst) { | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbCorect10
20ms184kbCorect10
30ms184kbCorect10
40ms184kbCorect10
50ms184kbCorect10
645ms2105kbCorect10
784ms4055kbCorect10
813ms884kbCorect10
912ms839kbCorect10
1074ms3338kbCorect10
Punctaj total100

Ceva nu functioneaza?