Borderou de evaluare (job #2946087)

Utilizator mihairazvan03Dana Mihai mihairazvan03 Data 24 noiembrie 2022 15:47:22
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int djikstra(int)': main.cpp:19:62: error: 'INT_MAX' was not declared in this scope 19 | int i, j, nod, w, newNod, newW, newTimp, wRamas, timpM = 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:34:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 34 | for(i = 0; i < adj[nod].size(); i++) | ~~^~~~~~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?