| Problem | collectmushrooms5 |
|---|---|
| User | maximushartanto |
| Submission Time | 2026-01-28 21:16:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
collectmushrooms5.cpp: In function ‘void solve()’:
collectmushrooms5.cpp:35:22: error: ‘INT_MAX’ was not declared in this scope
35 | q.emplace(y, INT_MAX, i);
| ^~~~~~~
collectmushrooms5.cpp:7:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
6 | #include <set>
+++ |+#include <climits>
7 | using namespace std;
collectmushrooms5.cpp:40:18: error: ‘INT_MAX’ was not declared in this scope
40 | if (x == INT_MAX){
| ^~~~~~~
collectmushrooms5.cpp:40:18: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
collectmushrooms5.cpp:43:18: error: ‘INT_MAX’ was not declared in this scope
43 | if (y == INT_MAX){
| ^~~~~~~
collectmushrooms5.cpp:43:18: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#in