Kelio paieška

Taškai: 0

Compile: FAIL

bfs_kelias.cpp: In function ‘void bfs(int, int)’: bfs_kelias.cpp:14:31: error: ‘INT_MAX’ was not declared in this scope 14 | vector<int> dist(n+1, INT_MAX); | ^~~~~~~ bfs_kelias.cpp:9:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’? 8 | #include <algorithm> +++ |+#include <climits> 9 | using namespace std;

nr.resulttimemessage