foo.cc: In function 'int bfs(std::vector<Road>&, int, int, int)':
foo.cc:13:18: error: 'INT_MAX' was not declared in this scope
13 | int minl=INT_MAX;
| ^~~~~~~
foo.cc:3:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include<queue>
+++ |+#include <climits>
3 | #include<vector>
foo.cc: In function 'int main()':
foo.cc:48:14: error: 'INT_MAX' was not declared in this scope
48 | if(minl==INT_MAX) cout<<"Inf";
| ^~~~~~~
foo.cc:48:14: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
[Hydro](https://hydro.ac)提供评测服务