Borderou de evaluare (job #2206735)

Utilizator MihaiAntonMihai Anton MihaiAnton Data 23 mai 2018 17:54:12
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void readGraph(graph*, std::ifstream&)’: user.cpp:43:65: error: no matching function for call to ‘edge::edge(<brace-enclosed initializer list>)’ g->adjList[source].push_back(new edge{ source, sink, capacity }); ^ user.cpp:12:8: note: candidate: edge::edge() struct edge{ ^~~~ user.cpp:12:8: note: candidate expects 0 arguments, 3 provided user.cpp:12:8: note: candidate: constexpr edge::edge(const edge&) user.cpp:12:8: note: candidate expects 1 argument, 3 provided user.cpp:12:8: note: candidate: constexpr edge::edge(edge&&) user.cpp:12:8: note: candidate expects 1 argument, 3 provided user.cpp: In function ‘void processPath(graph*, std::__cxx11::list<edge*>&)’: user.cpp:89:16: error: ‘INT_MAX’ was not declared in this scope int minimum = INT_MAX; ^~~~~~~

Ceva nu functioneaza?