Borderou de evaluare (job #2907031)

Utilizator preda.andreiPreda Andrei preda.andrei Data 28 mai 2022 15:24:00
Problema Cuplaj maxim in graf bipartit Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:69:1: error: 'optional' does not name a type 69 | optional<vector<pair<int, int>>> FindPath(const Bigraph& graph) { | ^~~~~~~~ main.cpp: In function 'void Flow(Bigraph&, const std::vector<std::pair<int, int> >&)': main.cpp:100:20: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 100 | for (const auto& [a, b] : path) { | ^ main.cpp:103:20: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 103 | for (const auto& [a, b] : path) { | ^ main.cpp: In function 'std::vector<std::pair<int, int> > Solve(Bigraph&)': main.cpp:110:22: error: 'FindPath' was not declared in this scope 110 | while (auto path = FindPath(graph)) { | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:141:20: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 141 | for (const auto& [a, b] : res) { | ^ Non zero exit status: 1

Ceva nu functioneaza?