Problem shops
User snorky
Submission Time 2024-11-09 17:25:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shops.cpp: In function ‘std::pair<std::pair<Node*, int>, bool> findmin(Node*, std::vector<int>&)’:
shops.cpp:18:15: error: ‘INT_MAX’ was not declared in this scope
18 | int min = INT_MAX;
| ^~~~~~~
shops.cpp:6:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
5 | #include <iostream>
+++ |+#include <climits>
6 | class Node{