Borderou de evaluare (job #2960686)

Utilizator valentin12Valentin Ion Semen valentin12 Data 4 ianuarie 2023 20:27:13
Problema Taramul Nicaieri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool bfs()': main.cpp:34:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 34 | for(int i = 0; i < G[nod].size(); i++) | ~~^~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:88:20: error: 'INT_MAX' was not declared in this scope 88 | int minn = INT_MAX; | ^~~~~~~ main.cpp:5:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 4 | #include <queue> +++ |+#include <climits> 5 | main.cpp:112:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 112 | for(int j = 0; j < G[i].size(); j++) | ~~^~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?