Borderou de evaluare (job #3272247)

Utilizator robertanechita1Roberta Nechita robertanechita1 Data 28 ianuarie 2025 23:45:06
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: In function 'int flux()': main.cpp:113:17: error: 'reverse' was not declared in this scope 113 | reverse(path.begin(), path.end()); | ^~~~~~~ main.cpp:117:34: error: 'INT_MAX' was not declared in this scope 117 | int flow_minim = INT_MAX; | ^~~~~~~ main.cpp:4:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 3 | #include <queue> +++ |+#include <climits> 4 | main.cpp:119:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 119 | for (int j = 0; j < path.size() - 1; j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:126:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 126 | for (int j = 0; j < path.size() - 1; j++) | ~~^~~~~~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?