Borderou de evaluare (job #810416)

Utilizator avatar dariusbulican darius bulican dariusbulican IP ascuns
Problemă Reteta1 Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 21 feb. 2025 11:29:04 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void backtrack(std::vector<Reteta>&, std::vector<int>&, std::vector<bool>&, int, double, double&)': main.cpp:30:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Reteta>::size_type' {aka 'unsigned int'} [-Wsign-compare] 30 | if (poz >= retete.size()) return; | ~~~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:80:24: error: 'DBL_MAX' was not declared in this scope 80 | double costMinim = DBL_MAX; | ^~~~~~~ main.cpp:6:1: note: 'DBL_MAX' is defined in header '<cfloat>'; this is probably fixable by adding '#include <cfloat>' 5 | #include <iomanip> +++ |+#include <cfloat> 6 |