Problem | mrt |
---|---|
User | caffeine |
Submission Time | 2023-01-04 13:56:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mrt.cpp: In function ‘int32_t main()’:
mrt.cpp:12:58: error: ‘INT_MAX’ was not declared in this scope
12 | for(int i=0;i<n;i++)for(int j=0;j<n;j++)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:27:26: error: ‘INT_MAX’ was not declared in this scope
27 | if(adjmat[x][y]==INT_MAX)cout<<"-1\n";
| ^~~~~~~
mrt.cpp:27:26: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?