Borderou de evaluare (job #3303901)

Utilizator fantomcristi fantom Data 18 iulie 2025 21:01:56
Problema Pachete Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool EstePosibil(std::vector<Poziti>, std::vector<Poziti>, std::vector<Poziti>, std::vector<Poziti>, std::bitset<50000>, std::bitset<50000>, std::bitset<50000>, std::bitset<50000>, int)': main.cpp:77:49: warning: value computed is not used [-Wunused-value] 77 | NordVestBool[i] == false; main.cpp: In function 'int main()': main.cpp:122:9: error: 'cin' was not declared in this scope 122 | cin >> numarDePoziti; | ^~~ main.cpp:6:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 5 | #include <algorithm> +++ |+#include <iostream> 6 | using namespace std; main.cpp:164:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Poziti>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 164 | for (int i = 0; i <= NordEst.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ main.cpp:167:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Poziti>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 167 | for (int i = 0; i <= SudEst.size(); i++) { | ~~^~~~~~~~~~~~~~~~ main.cpp:170:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Poziti>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 170 | for (int i = 0; i <= NordVest.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ main.cpp:173:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Poziti>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 173 | for (int i = 0; i <= SudVest.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ main.cpp:187:9: error: 'cout' was not declared in this scope 187 | cout << rezultat; | ^~~~ main.cpp:187:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? Non zero exit status: 1

Ceva nu functioneaza?