Kelio paieška
- [1] 2024-04-20 12:40 (0)
- [2] 2024-04-20 12:42 (0)
- [3] 2024-04-20 12:42 (100)
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. | result | time | message |
---|