Problem | flip |
---|---|
User | YEethui |
Submission Time | 2023-12-06 11:18:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flip.cpp: In function ‘long long int flip(long long int, long long int, long long int, std::deque<long long int>&, std::deque<long long int>&, std::deque<long long int>&)’:
flip.cpp:15:28: error: ‘INT_MAX’ was not declared in this scope
15 | deque<int> dist(n + 1, INT_MAX);
| ^~~~~~~
flip.cpp:4:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <iostream>
+++ |+#include <climits>
4 | #define int long long