Problem | shops |
---|---|
User | snorky |
Submission Time | 2024-11-09 19:02:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
shops.cpp: In function ‘std::pair<std::pair<Node*, int>, bool> findmin(Node*, std::vector<int>&)’:
shops.cpp:22:15: error: ‘INT_MAX’ was not declared in this scope
22 | int min = INT_MAX;
| ^~~~~~~
shops.cpp:5:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
4 | #include <iostream>
+++ |+#include <climits>
5 | using namespace std;
shops.cpp: In function ‘int main()’:
shops.cpp:63:30: error: ‘INT_MAX’ was not declared in this scope
63 | vector<int> distances(n, INT_MAX);
| ^~~~~~~
shops.cpp:63:30: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?