Borderou de evaluare (job #2961342)

Utilizator andriciucandreeaAndriciuc Andreea andriciucandreea Data 6 ianuarie 2023 11:28:28
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 bfs()': main.cpp:38:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::pair<long long int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | for (int i = 0; i < towards[curr_node].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:101:34: error: 'INT_MAX' was not declared in this scope 101 | long long int mini = INT_MAX; | ^~~~~~~ main.cpp:6:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 5 | #include <queue> +++ |+#include <climits> 6 | main.cpp:132:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::pair<long long int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 132 | for (int j = 0; j < towards[i].size(); j++) | ~~^~~~~~~~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?