Problem mrt
User caffeine
Submission Time 2023-01-04 13:58:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mrt.cpp: In function ‘int32_t main()’:
mrt.cpp:14:27: error: ‘INT_MAX’ was not declared in this scope
14 | else adjmat[i][j]=INT_MAX;
| ^~~~~~~
mrt.cpp:3:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <algorithm>
+++ |+#include <climits>
3 | //#define int long long
mrt.cpp:30:26: error: ‘INT_MAX’ was not declared in this scope
30 | if(adjmat[x][y]==INT_MAX)cout<<"-1\n";
| ^~~~~~~
mrt.cpp:30:26: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?